|
Cytopia
0.3
A city building simulation game
|
#include <stdexcept>#include <exception>
Include dependency graph for Exception.hxx:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | CytopiaError |
| A generic error in Cytopia. More... | |
| class | ConfigurationError |
| A configuration error. More... | |
| class | UnimplementedError |
| An unimplemented function was called. More... | |
| class | AudioError |
| An audio-related error occured. More... | |
| class | FontError |
| A font-related error occured. More... | |
| class | DisplayError |
| A display error occured. More... | |
| class | UIError |
| A UI-related error occured. More... | |
| class | CompressionError |
| A compression error occured. More... | |
Macros | |
| #define | ERROR_MSG "In file " __BOLD__ __RED__ __FILE__ ":" __line__ __CLEAR__ "\n\t" |
| #define | NESTED_MSG "Called from " __BOLD__ __RED__ __FILE__ ":" __line__ __CLEAR__ "\n\t" |
| #define | STRINGIFY(x) #x |
| #define | STRINGIFY2(x) STRINGIFY(x) |
| #define | __line__ STRINGIFY2(__LINE__) |
| #define | TRACE_INFO "Exception thrown from " + string(__PRETTY_FUNCTION__) + " at " __FILE__ ":" __line__ " - " |
| #define | _CRT_SECURE_NO_WARNINGS |
Typedefs | |
| using | RuntimeError = std::runtime_error |
Functions | |
| void | systemSetupCrashHandler () |
| install OS crash handler More... | |
| #define __line__ STRINGIFY2(__LINE__) |
Definition at line 11 of file Exception.hxx.
| #define _CRT_SECURE_NO_WARNINGS |
Definition at line 15 of file Exception.hxx.
| #define ERROR_MSG "In file " __BOLD__ __RED__ __FILE__ ":" __line__ __CLEAR__ "\n\t" |
Definition at line 7 of file Exception.hxx.
| #define NESTED_MSG "Called from " __BOLD__ __RED__ __FILE__ ":" __line__ __CLEAR__ "\n\t" |
Definition at line 8 of file Exception.hxx.
| #define STRINGIFY | ( | x | ) | #x |
Definition at line 9 of file Exception.hxx.
| #define STRINGIFY2 | ( | x | ) | STRINGIFY(x) |
Definition at line 10 of file Exception.hxx.
| #define TRACE_INFO "Exception thrown from " + string(__PRETTY_FUNCTION__) + " at " __FILE__ ":" __line__ " - " |
Definition at line 12 of file Exception.hxx.
| using RuntimeError = std::runtime_error |
Definition at line 23 of file Exception.hxx.
| void systemSetupCrashHandler | ( | ) |
install OS crash handler
Definition at line 206 of file Exception.cxx.
Here is the caller graph for this function: