View definition

(Otto).SetStackTraceLimit

Defined in github.com/robertkrimen/otto/otto.go

Description

SetStackTraceLimit sets an upper limit to the number of stack frames that otto will use when formatting an error's stack trace. By default, the limit is 10. This is consistent with V8 and SpiderMonkey.

TODO: expose via `Error.stackTraceLimit`

SetStackTraceLimit is referenced in 0 repositories