#include <Panic.h>
Public Member Functions | |
void | die (const char *fmt,...) const |
void | warn (const char *fmt,...) const |
Static Public Member Functions | |
static Panic * | instance () |
Panic thrower.
void Panic::die | ( | const char * | fmt, | |
... | ||||
) | const |
Write an error message to stderr and halt the program
Panic * Panic::instance | ( | ) | [static] |
Singleton instance
void Panic::warn | ( | const char * | fmt, | |
... | ||||
) | const |
Write an error message to stderr and continue running