mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-22 07:23:07 +00:00
7 lines
184 B
Nim
7 lines
184 B
Nim
|
|
import ./basics
|
||
|
|
|
||
|
|
func msgStack*(error: ref EthersError): string =
|
||
|
|
var msg = error.msg
|
||
|
|
if not error.parent.isNil:
|
||
|
|
msg &= " -- Parent exception: " & error.parent.msg
|
||
|
|
return msg
|