public enum EpanetError| FNoError | 0 | |
| FEndOfFile | 1 | End of file was reached. |
| FFailData | 1,000 |
Failed reading data from the file. File is corrupt, not a EPANet result file or handled incorrectly.
Returned if a wrong method is called, i.e, if file has a equidistant 2D spatial axis, and one of the other spatial axis get/set methods was called. |
| FFailIllegalTstep | 1,001 | The time step number is out of range. |
| FFailIllegalItem | 1,002 | The item number is out of range. |
| FErrMalloc | 2,000 | Error allocating memory |
| FErrRead | 2,001 | Error reading file. Reasons: File has zero size, disc is corrupt, other. |
| FErrWrite | 2,002 | Error writing data to disc. Reasons: Disc is full, filename is invalid, other. |
| FErrOpen | 2,003 | Error opening file. Filename is invalid, or header could not be read (corrupt, or not a EPANet result file). |
| FErrClose | 2,004 | Error closing file. |
| FErrInvalidFile | 2,005 | Error invalid file. |
| FErrFlush | 2,006 | Error flushing data to disc. Disc/quota may be full. |
| FErrSeek | 2,007 | Error seeking in file. File has been truncated or disc is corrupt. |
| FErrItemno | 2,008 | An item number is out of range. |
| FErrIndex | 2,009 | An index number is out of range. |
| FErrDtype | 2,010 | A data type does not match (internal error). File is most likely corrupt. |
| FErrData | 2,011 | Error in file data, file is most likely corrupt. |
| FErrDateFormat | 2,012 | Date format is invalid. Must be YYYY-MM-dd |
| FErrTimeFormat | 2,013 | Time format is invalid. Must be hh:mm:ss |
| FErrSize | 2,014 | A size does not match (internal error). File is most likely corrupt. |
| FErrTag | 2,015 | Error reading DHI DFS tag (DHI_). Most likely file is not a EPANet result file. |
| FErrReadonly | 2,016 | Trying to write to a readonly file. |
| FErrSkip | 2,017 | Error skipping a logical block (internal error). Most likely file is corrupt. |
| FErrApptag | 2,018 | Error reading DHI DFS API tag (DFS_). Most likely file is not a EPANet result file. |
| FErrAxis | 2,019 | Wrong axis type number (internal error). Most likely the file is corrupt. |
| FErrCtype | 2,020 | Error reading logical block type (internal error). Most likely the file is corrupt. |
| FErrEum | 2,021 | EUM unit and type does not match. |
| FErrNotDtx | 2,022 | File is not a dtx file, though loaded as such. |
| FErrPlugin | 2,023 | Error in extension plugin. |
| FErrMagicnum | 2,024 | The magic number is not match. Most likely the engine is not completed properly or the file is corrupt. Please see the summmary file for details. |
| IsOneOf |
Returns true if enumeration is one of the listed ones.
(Defined by GenericExtensions) |