Allow hiding stack trace

Fixes error when stack trace is hidden with ```Error.stackTraceLimit = 0```
Potentially provides a fix to #64