Versions in this module Expand all Collapse all v3 v3.5.13 Dec 26, 2024 v3.5.10 Aug 14, 2024 Changes in this version + const CodeBadRequest + const CodeForbidden + const CodeInternal + const CodeNotFound + const CodeNotImplemented + const CodeTimeout + const CodeUnauthorized + func Cause(err error) error + func Errorf(code string, format string, args ...interface{}) error + func InternalError(message string) error + func InternalErrorf(format string, args ...interface{}) error + func InternalWrapError(err error, message ...string) error + func InternalWrapErrorf(err error, format string, args ...interface{}) error + func IsCode(code string, err error) bool + func New(code string, message string) error + func Wrap(err error, code string, message string) error + type ArgoError interface + Code func() string + Error func() string + HTTPCode func() int + JSON func() []byte