mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-15 11:53:12 +00:00
add missing file
This commit is contained in:
parent
320164c2c0
commit
38b1017e1d
7
codex/utils/exceptions.nim
Normal file
7
codex/utils/exceptions.nim
Normal file
@ -0,0 +1,7 @@
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user