2
0
mirror of https://github.com/status-im/nim-serialization.git synced 2025-01-23 02:09:54 +00:00

9 lines
313 B
Nim

type
SerializationError* = object of CatchableError
UnexpectedEofError* = object of SerializationError
CustomSerializationError* = object of SerializationError
method formatMsg*(err: ref SerializationError, filename: string): string {.gcsafe, base.} =
"Serialisation error while processing " & filename