Documentation
¶
Overview ¶
Deprecated: This package is superseded by github.com/microbus-io/errors.
Index ¶
- func As(err error, target any) booldeprecated
- func CatchPanic(f func() error) (err error)deprecated
- func Is(err, target error) booldeprecated
- func Join(errs ...error) errordeprecated
- func New(pattern string, args ...any) errordeprecated
- func Newc(statusCode int, text string) errordeprecated
- func Newcf(statusCode int, format string, a ...any) errordeprecated
- func Newf(format string, a ...any) errordeprecated
- func StatusCode(err error) intdeprecated
- func Trace(err error, a ...any) errordeprecated
- func Tracec(statusCode int, err error) errordeprecated
- func Unwrap(err error) errordeprecated
- type StackFramedeprecated
- type StreamedErrordeprecated
- type TracedErrordeprecated
- func Convert(err error) *TracedErrordeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatchPanic
deprecated
added in
v1.13.1
func StatusCode
deprecated
Types ¶
type StackFrame
deprecated
added in
v1.13.1
type StackFrame = errors.StackFrame
Deprecated: This package is superseded by github.com/microbus-io/errors.
type StreamedError
deprecated
added in
v1.13.1
type StreamedError = errors.StreamedError
Deprecated: This package is superseded by github.com/microbus-io/errors.
type TracedError
deprecated
type TracedError = errors.TracedError
Deprecated: This package is superseded by github.com/microbus-io/errors.
func Convert
deprecated
func Convert(err error) *TracedError
Deprecated: This package is superseded by github.com/microbus-io/errors.
Click to show internal directories.
Click to hide internal directories.