|
Autopysta
|
Exception class for handling error's. More...
#include <Exception.h>
Public Member Functions | |
| Exception (int c, const char *m) | |
| Exception constructor. | |
| int | code () |
| Returns the error code. | |
| const char * | msg () |
| Returns the error message. | |
| virtual const char * | what () const throw () |
| Returns the error message with an exception specification. | |
Public Attributes | |
| int | _code |
| Error code. | |
| char | _msg [256] |
| Error message. | |
Exception class for handling error's.
Used internally in source files. Can be catched in python by using
| Exception::Exception | ( | int | c, |
| const char * | m ) |
Exception constructor.
| c | Error code. |
| m | Error message. |