package
0.0.0-20240416161049-a532a675ca5c
Repository: https://github.com/goatcms/goatcore.git
Documentation: pkg.go.dev

# Functions

AppendError append error to error collection.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
NewError formats according to a format specifier and returns the string as a value that satisfies error.
ToError return error object if error list is not empty or nil.
Wrap function returns a new error that adds context to the original error by recording a stack trace at the point Wrap is called, together with the supplied message.
Wrapf formats according to a format specifier and returns the string as a value that satisfies error.

# Structs

Error is goat error object.

# Interfaces

CodeError represent interface for error with code.
ErrorsWrapper represent interface for error wrapper.
ErrorWrapper represent interface for error wrapper.
GoatError represent interface for goat error.
JSONError represent interface for error serialized to json.
MessageError represent interface for error with message.
TrackedError is described tracked errors interface.