data ZlibErr : Type Represents the possible errors reported by the zlib compression or decompression API.
Totality: total
Visibility: public export
Constructors:
StreamError : ZlibErr DataError : ZlibErr MemoryError : ZlibErr BufferError : ZlibErr VersionError : ZlibErr NeedDictionary : ZlibErr ErrnoError : ZlibErr UnknownError : Int -> ZlibErr MiscError : String -> ZlibErr
Hint: Show ZlibErr
zlibError : Int -> Maybe ZlibErr Converts a zlib return code to the corresponding typed error.
Returns `Nothing` for return codes that do not represent a zlib error, including `Z_OK` and `Z_STREAM_END`.
Totality: total
Visibility: exportrecord ZlibError : Type A wrapper around `ZlibErr`.
Fields:
- `fnname` : The function the error originated from
- `errormessage` : The error formatted as a String
- `errormessagetimestamp` : The timestamp the error occurred at
Totality: total
Visibility: public export
Constructor: MkZlibError : String -> ZlibErr -> Maybe (IClock CLOCK_REALTIME) -> ZlibError
Projections:
.error : ZlibError -> ZlibErr .errormessagetimestamp : ZlibError -> Maybe (IClock CLOCK_REALTIME) .fnname : ZlibError -> String
Hint: Show ZlibError
.fnname : ZlibError -> String- Totality: total
Visibility: public export fnname : ZlibError -> String- Totality: total
Visibility: public export .error : ZlibError -> ZlibErr- Totality: total
Visibility: public export error : ZlibError -> ZlibErr- Totality: total
Visibility: public export .errormessagetimestamp : ZlibError -> Maybe (IClock CLOCK_REALTIME)- Totality: total
Visibility: public export errormessagetimestamp : ZlibError -> Maybe (IClock CLOCK_REALTIME)- Totality: total
Visibility: public export