Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2022 Changes in this version + const AlreadyExists + const BadRequest + const Forbidden + const MethodNotAllowed + const NotAssigned + const NotFound + const NotImplemented + const NotProvisioned + const NotSupported + const NotValid + const NotYetAvailable + const QuotaLimitExceeded + const Timeout + const Unauthorized + const UserNotFound + func AlreadyExistsf(format string, args ...interface{}) error + func Annotate(other error, message string) error + func Annotatef(other error, format string, args ...interface{}) error + func As(err error, target interface{}) bool + func AsType(err error) (T, bool) + func BadRequestf(format string, args ...interface{}) error + func Cause(err error) error + func DeferredAnnotatef(err *error, format string, args ...interface{}) + func Details(err error) string + func ErrorStack(err error) string + func Errorf(format string, args ...interface{}) error + func Forbiddenf(format string, args ...interface{}) error + func HasType(err error) bool + func Hide(err error) error + func Is(err, target error) bool + func IsAlreadyExists(err error) bool + func IsBadRequest(err error) bool + func IsForbidden(err error) bool + func IsMethodNotAllowed(err error) bool + func IsNotAssigned(err error) bool + func IsNotFound(err error) bool + func IsNotImplemented(err error) bool + func IsNotProvisioned(err error) bool + func IsNotSupported(err error) bool + func IsNotValid(err error) bool + func IsNotYetAvailable(err error) bool + func IsQuotaLimitExceeded(err error) bool + func IsTimeout(err error) bool + func IsUnauthorized(err error) bool + func IsUserNotFound(err error) bool + func Mask(other error) error + func Maskf(other error, format string, args ...interface{}) error + func MethodNotAllowedf(format string, args ...interface{}) error + func New(message string) error + func NewAlreadyExists(err error, msg string) error + func NewBadRequest(err error, msg string) error + func NewForbidden(err error, msg string) error + func NewMethodNotAllowed(err error, msg string) error + func NewNotAssigned(err error, msg string) error + func NewNotFound(err error, msg string) error + func NewNotImplemented(err error, msg string) error + func NewNotProvisioned(err error, msg string) error + func NewNotSupported(err error, msg string) error + func NewNotValid(err error, msg string) error + func NewNotYetAvailable(err error, msg string) error + func NewQuotaLimitExceeded(err error, msg string) error + func NewTimeout(err error, msg string) error + func NewUnauthorized(err error, msg string) error + func NewUserNotFound(err error, msg string) error + func NotAssignedf(format string, args ...interface{}) error + func NotFoundf(format string, args ...interface{}) error + func NotImplementedf(format string, args ...interface{}) error + func NotProvisionedf(format string, args ...interface{}) error + func NotSupportedf(format string, args ...interface{}) error + func NotValidf(format string, args ...interface{}) error + func NotYetAvailablef(format string, args ...interface{}) error + func QuotaLimitExceededf(format string, args ...interface{}) error + func SetLocation(err error, callDepth int) error + func Timeoutf(format string, args ...interface{}) error + func Trace(other error) error + func Unauthorizedf(format string, args ...interface{}) error + func Unwrap(err error) error + func UserNotFoundf(format string, args ...interface{}) error + func WithType(err error, errType ConstError) error + func Wrap(other, newDescriptive error) error + func Wrapf(other, newDescriptive error, format string, args ...interface{}) error + type ConstError string + func (e ConstError) Error() string + type Err struct + func NewErr(format string, args ...interface{}) Err + func NewErrWithCause(other error, format string, args ...interface{}) Err + func (e *Err) Cause() error + func (e *Err) Error() string + func (e *Err) Format(s fmt.State, verb rune) + func (e *Err) Location() (function string, line int) + func (e *Err) Message() string + func (e *Err) SetLocation(callDepth int) + func (e *Err) StackTrace() []string + func (e *Err) Underlying() error + func (e *Err) Unwrap() error + type Locationer interface + Location func() (function string, line int)