# Functions
AbortedError creates a ErrAborted error.
AddConsequence adds an error 'err' to the list of consequences.
Cause returns the cause of an error if it implements the causer interface.
Consequences returns the list of consequences.
DecorateError changes the error to something more comprehensible when timeout occurred.
DuplicateError creates a ErrDuplicate error.
ErrListError creates a ErrList.
ForbiddenError creates a ErrForbidden error.
InconsistentError creates a ErrInconsistent error.
InvalidInstanceContentError ...
InvalidInstanceError creates a ErrInvalidInstance error.
InvalidParameterError creates a ErrInvalidParameter error.
InvalidRequestError creates a ErrInvalidRequest error.
IsGRPCTimeout tells if the err is a timeout kind.
NewErrCore creates a new error with a message 'message', a cause error 'cause' and a list of teardown problems 'consequences'.
NotAvailableError creates a NotAvailable error.
NotFoundError creates a ErrNotFound error.
NotImplementedError creates a ErrNotImplemented error.
OnExitLogError returns a function that will log error with level logrus.ErrorLevel.
OnExitLogErrorWithLevel returns a function that will log error with the log level wanted Intended to be used with defer for example.
OnExitTraceError returns a function that will log error with level logrus.TraceLevel.
OnPanic returns a function intended to capture panic error and fill the error pointer with a ErrRuntimePanic.
OverflowError creates a ErrOverflow error.
OverloadError creates a ErrOverload error.
RuntimePanicError creates a ErrRuntimePanic error.
Success ..
TimeoutError ...
UnauthorizedError creates a ErrUnauthorized error.
Wrap creates a new error with a message 'message' and a cause error 'cause'.
WrapErr ...
# Structs
ErrAborted ...
ErrCore ...
ErrDuplicate already exists error.
ErrForbidden when action is not allowed.
ErrInconsistent is used when data used is inconsistent.
ErrInvalidInstance has to be used when a method is called from an instance equal to nil.
ErrInvalidInstanceContent has to be used when a property of an instance contains invalid property.
ErrInvalidParameter ...
ErrInvalidRequest ...
ErrList ...
ErrNotAvailable resource not available error.
ErrNotFound resource not found error.
ErrNotImplemented ...
ErrOverflow ...
ErrOverload when action cannot be honored because provider is overloaded (ie too many requests occured in a given time).
ErrRuntimePanic ...
ErrTimeout defines a Timeout error.
ErrUnauthorized when action is done without being authenticated first.