# Functions
AlreadyExistsf returns an error which satisfies IsAlreadyExists().
Annotate is used to add extra context to an existing error.
Annotatef is used to add extra context to an existing error.
BadRequestf returns an error which satisfies IsBadRequest().
Cause returns the cause of the given error.
Conflictf returns an error which satisfies IsConflict().
DeferredAnnotatef annotates the given error (when it is not nil) with the given format string and arguments (like fmt.Sprintf).
Details returns information about the stack of errors wrapped by err, in the format:
[{filename:99: error one} {otherfile:55: cause of error one}]
This is a terse alternative to ErrorStack as it returns a single line.
Errorf creates a new annotated error and records the location that the error is created.
ErrorStack returns a string representation of the annotated error.
Forbiddenf returns an error which satistifes IsForbidden().
Internalf returns an error which satistifes IsInternal().
No description provided by the author
IsAlreadyExists reports whether the error was created with AlreadyExistsf() or NewAlreadyExists().
IsBadRequest reports whether err was created with BadRequestf() or NewBadRequest().
IsConflict reports whether the error was created with Conflictf() or NewConflict().
IsForbidden reports whether err was created with Forbiddenf() or NewForbidden().
IsInternal reports whether err was created with Internalf() or NewInternal().
IsMethodNotAllowed reports whether err was created with MethodNotAllowedf() or NewMethodNotAllowed().
IsNotAssigned reports whether err was created with NotAssignedf() or NewNotAssigned().
IsNotFound reports whether err was created with NotFoundf() or NewNotFound().
IsNotImplemented reports whether err was created with NotImplementedf() or NewNotImplemented().
IsNotProvisioned reports whether err was created with NotProvisionedf() or NewNotProvisioned().
IsNotSupported reports whether the error was created with NotSupportedf() or NewNotSupported().
IsNotValid reports whether the error was created with NotValidf() or NewNotValid().
IsServiceUnavailable reports whether err was created with ServiceUnavailablef() or NewServiceUnavailable().
IsTimeout reports whether err was created with Timeoutf() or NewTimeout().
IsTooManyRequests reports whether err was created with TooManyRequestsf() or NewTooManyRequests().
IsUnauthorized reports whether err was created with Unauthorizedf() or NewUnauthorized().
Mask hides the underlying error type, and records the location of the masking.
Maskf masks the given error with the given format string and arguments (like fmt.Sprintf), returning a new error that maintains the error stack, but hides the underlying error type.
MethodNotAllowedf returns an error which satisfies IsMethodNotAllowed().
New is a drop in replacement for the standard library errors module that records the location that the error is created.
NewAlreadyExists returns an error which wraps err and satisfies IsAlreadyExists().
NewBadRequest returns an error which wraps err that satisfies IsBadRequest().
NewConflict returns an error which wraps err and satisfies IsConflict().
NewErr is used to return an Err for the purpose of embedding in other structures.
NewErrWithCause is used to return an Err with cause by other error for the purpose of embedding in other structures.
NewForbidden returns an error which wraps err that satisfies IsForbidden().
NewInternal returns an error which wraps err that satisfies IsInternal().
NewMethodNotAllowed returns an error which wraps err that satisfies IsMethodNotAllowed().
NewNotAssigned returns an error which wraps err that satisfies IsNotAssigned().
NewNotFound returns an error which wraps err that satisfies IsNotFound().
NewNotImplemented returns an error which wraps err and satisfies IsNotImplemented().
NewNotProvisioned returns an error which wraps err that satisfies IsNotProvisioned().
NewNotSupported returns an error which wraps err and satisfies IsNotSupported().
NewNotValid returns an error which wraps err and satisfies IsNotValid().
NewServiceUnavailable returns an error which wraps err and satisfies IsServiceUnavailable().
NewTimeout returns an error which wraps err that satisfies IsTimeout().
NewTooManyRequests returns an error which wraps err that satisfies IsTooManyRequests().
NewUnauthorized returns an error which wraps err and satisfies IsUnauthorized().
NotAssignedf returns an error which satisfies IsNotAssigned().
NotFoundf returns an error which satisfies IsNotFound().
NotImplementedf returns an error which satisfies IsNotImplemented().
NotProvisionedf returns an error which satisfies IsNotProvisioned().
NotSupportedf returns an error which satisfies IsNotSupported().
NotValidf returns an error which satisfies IsNotValid().
ServiceUnavailablef returns an error which satisfies IsServiceUnavailable().
No description provided by the author
Timeoutf returns an error which satisfies IsTimeout().
TooManyRequestsf returns an error which satistifes IsTooManyRequests().
Trace adds the location of the Trace call to the stack.
Unauthorizedf returns an error which satisfies IsUnauthorized().
Wrap changes the Cause of the error.
Wrapf changes the Cause of the error, and adds an annotation.