Documentation
¶
Index ¶
- Variables
- func Is(err error, target error) bool
- func New(message string) error
- func NewWithCode(code string) error
- func NewWithCodef(code string, format string, args ...interface{}) error
- func NewWithErr(code string, err error) error
- func Original(err error) *baseError
- func Wrap(err error, message string) error
- func Wrapf(err error, format string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadRequest = NewWithCode("bad_request")
)
Functions ¶
func NewWithCode ¶
func NewWithCodef ¶
func NewWithErr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.