Documentation
¶
Index ¶
- func Annotate(err error, annotation string) error
- func Annotatef(err error, format string, args ...interface{}) error
- func As(err error, target interface{}) bool
- func CodeError(code Code) error
- func Errorf(format string, args ...interface{}) error
- func Is(err, target error) bool
- func New(err string) error
- func Unwrap(err error) error
- func ValueFrom(err error) int32
- func WithCode(err error, code Code) error
- type Code
- type ErrNo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrNo ¶ added in v0.2.1
type ErrNo int32
func (ErrNo) GRPCStatus ¶ added in v0.2.2
GRPCStatus make ErrNo support grpc status
Click to show internal directories.
Click to hide internal directories.