![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Error messages. More...
Macros | |
| #define | _CRT_SECURE_NO_DEPRECATE |
| #define | ERR(code, string) case code: strcpy(msg, string); break; |
Functions | |
| char * | error_getMsg (int errCode, char *msg) |
| Get the error message for a given error code. | |
| int | error_setInpError (int errcode, char *s) |
| Set an error code in the error manager. | |
Variables | |
| char | ErrString [MAXMSG] |
Error messages.
Error codes used in the SWMM model.
| #define _CRT_SECURE_NO_DEPRECATE |
| #define ERR | ( | code, | |
| string | |||
| ) | case code: strcpy(msg, string); break; |
| char * error_getMsg | ( | int | i, |
| char * | msg | ||
| ) |
Get the error message for a given error code.
| [in] | i | Error code |
| [out] | msg | Error message |
| int error_setInpError | ( | int | errcode, |
| char * | s | ||
| ) |
Set an error code in the error manager.
| [in] | errcode | Error code |
| [in] | s | Error message |
| char ErrString[MAXMSG] |