mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-11 18:13:05 +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 |