GEJM  1.0.0.0
a 2D platformer made by students
Public Member Functions | List of all members
InitError Class Reference

#include <InitError.h>

Inheritance diagram for InitError:

Public Member Functions

 InitError ()
 
 InitError (const std::string &m)
 
virtual ~InitError () noexcept
 
virtual const char * what () const noexcept
 

Detailed Description

InitError is a custom exception that includes SDL_GetError() message.

Constructor & Destructor Documentation

InitError::InitError ( )

Default constructor of exception with SDL_GetError() message.

InitError::InitError ( const std::string &  m)

Default constructor of exception with custom message.

Parameters
mcustom message
InitError::~InitError ( )
virtualnoexcept

Default destructor.

Member Function Documentation

const char * InitError::what ( ) const
virtualnoexcept

Overload of virtual function that gets string identifying exception. return char const*


The documentation for this class was generated from the following files: