Documentation
¶
Index ¶
- Variables
- func As(err error, target any) bool
- func Is(err, target error) bool
- func Join(errs ...error) error
- func NilParam(args ...any) error
- func NilReceiver(args ...any) error
- func NilReceiverField(args ...any) error
- func NotImplemented() error
- func Unwrap(err error) error
- type Error
- type StackFrame
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = errors.ErrUnsupported
Functions ¶
func NilParam ¶ added in v0.0.5
NilParam returns an error with the function name if any of the arguments are nil
func NilReceiver ¶ added in v0.0.5
NilReceiver returns an error with the function name if any of the arguments are nil func NilReceiver(arg any) error {
func NilReceiverField ¶ added in v0.0.5
NilReceiver returns an error with the function name if any of the arguments are nil
func NotImplemented ¶ added in v0.0.5
func NotImplemented() error
NotImplemented returns an error with the function name
Types ¶
type StackFrame ¶
type StackFrame = errorsGo.StackFrame
func NewStackFrame ¶
func NewStackFrame(pc uintptr) (frame StackFrame)
Click to show internal directories.
Click to hide internal directories.