Versions in this module Expand all Collapse all v1 v1.13.12 Feb 9, 2025 Changes in this version + func As(err error, target interface{}) bool + func CallDetail(msg []byte, fn interface{}, args ...interface{}) []byte + func Detail(err error) string + func Err(err error) error + func Is(err, target error) bool + func IsNotFound(err error) bool + func New(msg string) error + func Summary(err error) string + func Unwrap(err error) error + type ErrorInfo = Frame + func Info(err error, cmd ...interface{}) *ErrorInfo + func InfoEx(calldepth int, err error, cmd ...interface{}) *ErrorInfo + func (p *ErrorInfo) AppendErrorDetail(b []byte) []byte + func (p *ErrorInfo) Detail(err error) *ErrorInfo + func (p *ErrorInfo) ErrorDetail() string + func (p *ErrorInfo) NestedObject() interface{} + func (p *ErrorInfo) SummaryErr() error + type Frame struct + Args []interface{} + Code string + Err error + File string + Func string + Line int + func NewFrame(err error, code, file string, line int, fn string, args ...interface{}) *Frame + func NewWith(err error, code string, n int, fn string, args ...interface{}) *Frame + func (p *Frame) Error() string + func (p *Frame) Format(s fmt.State, verb rune) + func (p *Frame) Summary() string + func (p *Frame) Unwrap() error + type List []error + func (p *List) Add(err error) + func (p List) Error() string + func (p List) Format(s fmt.State, verb rune) + func (p List) Summary() string + func (p List) ToError() error + type NotFound struct + Category string + func (p *NotFound) Error() string