mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-04 15:04:54 +00:00
e5df8c50d3
* style: nph setup * chore: formates codex/ and tests/ folder with nph 0.6.1
8 lines
177 B
Nim
8 lines
177 B
Nim
import std/strformat
|
|
|
|
proc msgDetail*(e: ref CatchableError): string =
|
|
var msg = e.msg
|
|
if e.parent != nil:
|
|
msg = fmt"{msg} Inner exception: {e.parent.msg}"
|
|
return msg
|