mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-10 17:43:06 +00:00
8 lines
185 B
Nim
8 lines
185 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
|