2019-03-11 09:34:04 +00:00
|
|
|
type
|
|
|
|
SerializationError* = object of CatchableError
|
|
|
|
UnexpectedEofError* = object of SerializationError
|
|
|
|
|
2019-03-19 23:44:30 +00:00
|
|
|
method formatMsg*(err: ref SerializationError, filename: string): string {.base.} =
|
|
|
|
"Serialisation error while processing " & filename
|
|
|
|
|