MCPcopy
hub / github.com/google/go-jsonnet / formatRuntime

Method formatRuntime

error_formatter.go:76–78  ·  view source on GitHub ↗
(err *RuntimeError)

Source from the content-addressed store, hash-verified

74}
75
76func (ef *termErrorFormatter) formatRuntime(err *RuntimeError) string {
77 return err.Error() + "\n" + ef.buildStackTrace(err.StackTrace)
78}
79
80func (ef *termErrorFormatter) formatStatic(err errors.StaticError) string {
81 var buf bytes.Buffer

Callers 1

FormatMethod · 0.95

Calls 2

buildStackTraceMethod · 0.95
ErrorMethod · 0.65

Tested by

no test coverage detected