package
1.3.3
Repository: https://github.com/onflow/cadence.git
Documentation: pkg.go.dev

# Functions

GetExternalError returns the ExternalError in the error chain, if any.
IsInternalError Checks whether a given error was caused by an InternalError.
IsUserError Checks whether a given error was caused by an UserError.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewUnreachableError creates an internal error that indicates executing an unimplemented path.
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

DefaultUserError is the default implementation of UserError interface.
ExternalError is an error that occurred externally.
ExternalNonError is an non-error-typed panic that occurred externally.
MemoryError indicates a memory limit has reached and should end the Cadence parsing, checking, or interpretation.
No description provided by the author
UnexpectedError is the default implementation of InternalError interface.

# Interfaces

No description provided by the author
ErrorNotes is an interface for errors that provide notes.
HasPrefix is an interface for errors that provide a custom prefix.
No description provided by the author
InternalError is an implementation error, e.g: an unreachable code path (UnreachableError).
ParentError is an error that contains one or more child errors.
SecondaryError is an interface for errors that provide a secondary error message.
UserError is an error thrown for an error in the user-code, e.g.