|
New constructor, taken from my other projects as they proofed to be valuable. - Author:
-
Martin Preuss<openhbci@aquamaniac.de>
- Parameters:
-
where |
String that describes the location of the error (like "MyClass::myMethod()") |
level |
Severity level, can be one of
- ERROR_LEVEL_NONE: no error
- ERROR_LEVEL_EASY: unimportant error, warning
- ERROR_LEVEL_NORMAL: normal error
- ERROR_LEVEL_CRITICAL: critical error
- ERROR_LEVEL_PANIC: very, very critical error
- ERROR_LEVEL_INTERNAL: internal error
|
code |
any integer code you want to assign. Some of these codes (starting from integer number 100) have been specified for very specific conditions in OpenHBCI now -- see ErrorCodes . |
advise |
Proposed reaction to this error, can be one of
- ERROR_ADVISE_DONTKNOW: unknown, unspecified
- ERROR_ADVISE_IGNORE: ignore this error
- ERROR_ADVISE_RETRY: retry the last operation
- ERROR_ADVISE_ABORT: it does not make sense to continue or retry
- ERROR_ADVISE_SHUTDOWN: stop the program
|
message |
A short string describing the error. |
info |
Additional information, for debugging purposes. |
|