| 
    rolmodl
    
   C++ API for the Simple Directmedia Library 2 (SDL2) 
   | 
 
Exception type containing an error code and the last SDL error at the moment of creation. More...
#include <Base.hpp>
  
Public Member Functions | |
| sdlexception (const int code) noexcept | |
| Initialize with the given error code and the last SDL error message.  More... | |
| sdlexception () noexcept | |
Initialize with the error code arbitrarily set to 0 if one isn't available and the last SDL error message.  More... | |
| int | code () const noexcept | 
| Get the recorded error code.  | |
| const char * | what () const noexcept override | 
| Get the recorded error message.  More... | |
  Public Member Functions inherited from std::exception | |
| T | exception (T... args) | 
| T | operator= (T... args) | 
| T | what (T... args) | 
| T | ~exception (T... args) | 
Exception type containing an error code and the last SDL error at the moment of creation.
      
  | 
  explicitnoexcept | 
Initialize with the given error code and the last SDL error message.
      
  | 
  noexcept | 
Initialize with the error code arbitrarily set to 0 if one isn't available and the last SDL error message. 
      
  | 
  overridenoexcept | 
Get the recorded error message.
 1.8.16