py_fort_hermes errors¶
- exception py_fort_hermes.UnexpectedEndOfFileSequence(what, segmentPath)¶
The reading of a sequence of file was interrupted by an error
- segmentPath¶
the segment where the error occured
- Type
str
- exception py_fort_hermes.InternalError(code: ErrorCode, message)¶
Internal error raised by py_fort_hermes.
- code¶
the ErrorCode for the internal error
- Type
int
- class py_fort_hermes.ErrorCode(value)¶
Enumeration for internal error code
- FH_COULD_NOT_CONNECT = 10005¶
could not connect to host
- FH_END_OF_STREAM = 10003¶
The stream reached the end
- FH_MESSAGE_DECODE_ERROR = 10004¶
The next message could not be decoded
- FH_NO_ERROR = 0¶
No errors occured
- FH_SOCKET_ERROR = 10006¶
network error
- FH_STREAM_NO_HEADER = 10001¶
The stream or file has no header
- FH_STREAM_WRONG_VERSION = 10002¶
The stream has an unsupported version
- FH_UNEXPECTED_END_OF_FILE_SEQUENCE = 10007¶
an error occured before the end of a file sequence