#include <exception.hpp>
Public Member Functions | |
texception (const std::string &operation, const bool use_sdl_error) | |
Constructor. More... | |
![]() | |
error () | |
error (const std::string &msg) | |
~error () throw () | |
const char * | what () const throw () |
Additional Inherited Members | |
![]() | |
std::string | message |
Definition at line 28 of file exception.hpp.
sdl::texception::texception | ( | const std::string & | operation, |
const bool | use_sdl_error | ||
) |
Constructor.
operation | The operation that has failed. |
use_sdl_error | If set to true the operation is appended with the SDL error message. Else the operation is the error message for the exception. |
Definition at line 44 of file exception.cpp.