MCPcopy Create free account
hub / github.com/dop251/goja / String

Method String

runtime.go:345–356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343}
344
345func (e *InterruptedError) String() string {
346 if e == nil {
347 return "<nil>"
348 }
349 var b bytes.Buffer
350 if e.iface != nil {
351 b.WriteString(fmt.Sprint(e.iface))
352 b.WriteByte('\n')
353 }
354 e.writeFullStack(&b)
355 return b.String()
356}
357
358func (e *InterruptedError) Error() string {
359 if e == nil || e.iface == nil {

Callers

nothing calls this directly

Calls 3

WriteStringMethod · 0.80
writeFullStackMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected