MCPcopy Index your code
hub / github.com/tinygo-org/tinygo / Error

Method Error

interp/errors.go:52–54  ·  view source on GitHub ↗

Error returns the string of the first error in the list of errors.

()

Source from the content-addressed store, hash-verified

50
51// Error returns the string of the first error in the list of errors.
52func (e *Error) Error() string {
53 return e.Pos.String() + ": " + e.Err.Error()
54}
55
56// errorAt returns an error value for the currently interpreted package at the
57// location of the instruction. The location information may not be complete as

Callers

nothing calls this directly

Calls 2

StringMethod · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected