Types
InternalError = object of CatchableError
- Source Edit
InterruptError = object of OSError
- Python's is inherited from OSError Source Edit
SyntaxError = ref object of CatchableError fileName*: string lineNo*: int colNo*: int
- Source Edit
Procs
proc noreturnUnreachable(msg = ShouldnotHere) {.noReturn, inline, cdecl, ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template raiseSyntaxError(msg: string; fileName: string; lineNo = 0; colNo = 0)
- Source Edit
template unreachable(msg = ShouldnotHere)
- Source Edit