Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnrollChildErrors ¶
UnrollChildErrors recursively combines all child errors into a single error message.
Types ¶
type ErrorNotes ¶
type ErrorNotes interface {
ErrorNotes() []ErrorNote
}
ErrorNotes is an interface for errors that provide notes
type ParentError ¶
ParentError is an error that contains one or more child errors.
type SecondaryError ¶
type SecondaryError interface {
SecondaryError() string
}
SecondaryError is an interface for errors that provide a secondary error message
type UnreachableError ¶
type UnreachableError struct {
Stack []byte
}
UnreachableError is an internal error in the runtime which should have never occurred due to a programming error in the runtime.
NOTE: this error is not used for errors because of bugs in a user-provided program. For program errors, see interpreter/errors.go
func NewUnreachableError ¶
func NewUnreachableError() *UnreachableError
func (UnreachableError) Error ¶
func (e UnreachableError) Error() string
Click to show internal directories.
Click to hide internal directories.