int error_setInpError(int errcode, char *s)
Set an error code in the error manager.
Definition error.c:57
char * error_getMsg(int i, char *msg)
Get the error message for a given error code.
Definition error.c:33
ErrorType
Enumeration of error codes used in SWMM5.
Definition error.h:32
@ ERR_OUT_READ
Output read error.
Definition error.h:208
@ ERR_LENGTH
Conduit length error.
Definition error.h:56
@ ERR_KEYWORD
Keyword error.
Definition error.h:164
@ ERR_TRANSECT_TOO_MANY
Transect too many error.
Definition error.h:182
@ ERR_INFIL_PARAMS
Infiltration parameters error.
Definition error.h:192
@ ERR_RPT_FILE
Report file error.
Definition error.h:200
@ ERR_ROUTING_FILE_OPEN
Routing file open error.
Definition error.h:264
@ ERR_RUNOFF_FILE_FORMAT
Runoff file format error.
Definition error.h:230
@ ERR_RULE
Rule error.
Definition error.h:174
@ ERR_RAIN_GAGE_INTERVAL
Rain gage interval error.
Definition error.h:118
@ ERR_ROUTING_FILE_NOMATCH
Routing file no match error.
Definition error.h:268
@ ERR_LOOP
Network loop error.
Definition error.h:76
@ ERR_SNOWMELT_PARAMS
Snowmelt parameters error.
Definition error.h:132
@ ERR_HOTSTART_FILE_FORMAT
Hotstart file format error.
Definition error.h:240
@ ERR_MULTI_OUTLET
Network multiple outlet error.
Definition error.h:78
@ ERR_HOTSTART_FILE_OPEN
Hotstart file scratch error.
Definition error.h:238
@ ERR_OUT_SIZE
Output size error.
Definition error.h:204
@ ERR_XSECT
Conduit xsection error.
Definition error.h:68
@ ERR_START_DATE
Start date error.
Definition error.h:150
@ ERR_LID_CAPTURE_AREA
LID capture area error.
Definition error.h:146
@ ERR_RAIN_GAGE_TSERIES
Rain gage time series error.
Definition error.h:116
@ ERR_TABLE_FILE_READ
Table file read error.
Definition error.h:276
@ ERR_DUMMY_LINK
Network dummy links error.
Definition error.h:80
@ ERR_OUT_FILE
Output file error.
Definition error.h:202
@ ERR_NO_CURVE
No curve specified error.
Definition error.h:70
@ ERR_UNITHYD_TIMES
RDII unit hydrograph time error.
Definition error.h:104
@ ERR_OUT_WRITE
Output write error.
Definition error.h:206
@ ERR_ITEMS
Error items error.
Definition error.h:162
@ ERR_GROUND_ELEV
Ground elevation error.
Definition error.h:52
@ ERR_SNOWPACK_PARAMS
Snowpack parameters error.
Definition error.h:134
@ ERR_LID_AREAS
LID areas error.
Definition error.h:144
@ ERR_DIVIDER_LINK
Divider link error.
Definition error.h:86
@ ERR_TRANSECT_MANNING
Transect Manning error.
Definition error.h:184
@ ERR_ELEV_DROP
Conduit elevation drop error.
Definition error.h:58
@ ERR_ROUTING_FILE_NAMES
Routing file names error.
Definition error.h:270
@ ERR_SYSTEM
System error.
Definition error.h:280
@ ERR_LID_PARAMS
LID parameters error.
Definition error.h:142
@ ERR_NONE
No error.
Definition error.h:36
@ ERR_RUNOFF_FILE_OPEN
Runoff file scratch error.
Definition error.h:228
@ ERR_LID_LAYER
LID layer error.
Definition error.h:140
@ ERR_NO_XSECT
Conduit no cross section.
Definition error.h:66
@ ERR_DIVIDER
Error divider error.
Definition error.h:84
@ ERR_TRANSECT_NO_DEPTH
Transect no depth error.
Definition error.h:188
@ ERR_RAIN_FILE_CONFLICT
Rain file conflict error.
Definition error.h:112
@ ERR_CLIMATE_END_OF_FILE
Climate file end error.
Definition error.h:252
@ ERR_SLOPE
Conduit slope error.
Definition error.h:64
@ ERR_TRANSECT_UNKNOWN
Transect unknown error.
Definition error.h:176
@ ERR_DUP_NAME
Duplicate ID error.
Definition error.h:166
@ ERR_RAIN_FILE_SEQUENCE
Rain file sequence error.
Definition error.h:218
@ ERR_NUMBER
Data value error.
Definition error.h:170
@ ERR_ROUGHNESS
Conduit roughness error.
Definition error.h:60
@ ERR_REPORT_DATE
Report start date error.
Definition error.h:152
@ ERR_ODE_SOLVER
ODE solver error.
Definition error.h:42
@ ERR_TRANSECT_TOO_FEW
Transect too few error.
Definition error.h:180
@ ERR_DATETIME
Datetime error.
Definition error.h:172
@ ERR_WEIR_DIVIDER
Weir divider error.
Definition error.h:88
@ ERR_NAME
Name error.
Definition error.h:168
@ ERR_RAIN_FILE_DATA
Rain file data error.
Definition error.h:216
@ ERR_TIMESTEP
Time step error.
Definition error.h:44
@ ERR_KINWAVE
Kinematic wave routing error.
Definition error.h:40
@ ERR_RDII_FILE_FORMAT
RDII file format error.
Definition error.h:260
@ ERR_RDII_FILE_OPEN
RDII file open error.
Definition error.h:258
@ ERR_UNITHYD_RATIOS
RDII unit hydrograph ratios error.
Definition error.h:106
@ ERR_FILE_NAME
File name error.
Definition error.h:196
@ ERR_NODE_DEPTH
Node depth error.
Definition error.h:90
@ ERR_RAIN_FILE_FORMAT
Rain file format error.
Definition error.h:220
@ ERR_RUNOFF_FILE_END
Runoff file end error.
Definition error.h:232
@ ERR_PUMP_LIMITS
Pump limits error.
Definition error.h:72
@ ERR_CURVE_SEQUENCE
Curve sequence error.
Definition error.h:126
@ ERR_RAIN_FILE_GAGE
Rain file gage error.
Definition error.h:224
@ ERR_RAIN_FILE_OPEN
Rain file open error.
Definition error.h:214
@ ERR_NO_OUTLETS
No outlets error.
Definition error.h:100
@ ERR_INP_FILE
Input file error.
Definition error.h:198
@ ERR_LID_TYPE
LID type error.
Definition error.h:138
@ ERR_RUNOFF_FILE_READ
Runoff file read error.
Definition error.h:234
@ ERR_TRANSECT_SEQUENCE
Transect sequence error.
Definition error.h:178
@ ERR_TABLE_FILE_OPEN
Table file open error.
Definition error.h:274
@ ERR_TRANSECT_OVERBANK
Transect overbank error.
Definition error.h:186
@ ERR_INPUT
Input error.
Definition error.h:158
@ ERR_MATH_EXPR
Math expression error.
Definition error.h:190
@ ERR_CLIMATE_FILE_READ
Climate file read error.
Definition error.h:250
@ ERR_HOTSTART_FILE_READ
Hotstart file read error.
Definition error.h:242
@ ERR_NO_CLIMATE_FILE
Climate file error.
Definition error.h:246
@ ERR_LINE_LENGTH
Line length error.
Definition error.h:160
@ ERR_SUBCATCH_OUTLET
Subcatchment has no outlet.
Definition error.h:48
@ MAXERRMSG
Maximum error message length.
Definition error.h:284
@ ERR_CLIMATE_FILE_OPEN
Climate file open error.
Definition error.h:248
@ ERR_AQUIFER_PARAMS
Aquifer parameter error.
Definition error.h:50
@ ERR_REPORT_STEP
Report time step error.
Definition error.h:154
@ ERR_TIMESERIES_SEQUENCE
Time series sequence error.
Definition error.h:128
@ ERR_REGULATOR
Regulator error.
Definition error.h:92
@ ERR_RDII_FILE_SCRATCH
RDII file scratch error.
Definition error.h:256
@ ERR_RDII_AREA
RDII area error.
Definition error.h:108
@ ERR_BARRELS
Conduit barrel error.
Definition error.h:62
@ ERR_RAIN_IFACE_FORMAT
Rain interface format error.
Definition error.h:222
@ ERR_RAIN_GAGE_FORMAT
Rain gage format error.
Definition error.h:114
@ ERR_STORAGE_VOLUME
Storage volume error.
Definition error.h:94
@ ERR_REGULATOR_SHAPE
Regulator shape error.
Definition error.h:98
@ ERR_CYCLIC_TREATMENT
Cyclic treatment error.
Definition error.h:122
@ ERR_OUTFALL
Outfall error.
Definition error.h:96
@ ERR_MEMORY
Memory allocation error.
Definition error.h:38
@ ERR_ROUTING_FILE_FORMAT
Routing file format error.
Definition error.h:266
@ ERR_RAIN_FILE_SCRATCH
Rain file scratch error.
Definition error.h:212