Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
src
common
exceptions
WizardException.h
1
//
2
// Created by Manuel on 09.03.2021.
3
//
4
5
#ifndef WIZARD_WIZARDEXCEPTION_H
6
#define WIZARD_WIZARDEXCEPTION_H
7
8
#include <string>
9
10
class
WizardException
:
public
std::exception {
11
private
:
12
std::string _msg;
13
public
:
14
explicit
WizardException
(
const
std::string& message) : _msg(message) { };
15
16
const
char
* what()
const
noexcept
override
{
17
return
_msg.c_str();
18
}
19
};
20
21
#endif
//WIZARD_WIZARDEXCEPTION_H
WizardException
Definition
WizardException.h:10
Generated by
1.12.0