mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-28 23:55:43 +00:00
10 lines
348 B
Nim
10 lines
348 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, raises: [Defect].} =
|
||
|
"Serialisation error while processing " & filename
|
||
|
|