Documentation
¶
Index ¶
- func As(err error, target any) bool
- func Is(err, target error) bool
- func IsType(err error, t Type, otherT ...Type) bool
- func Unwrap(err error) error
- type Error
- type Type
- func (t Type) IsEqualTo(other any) bool
- func (t Type) IsErr(err error) bool
- func (t Type) IsZero() bool
- func (t Type) MarshalText() ([]byte, error)
- func (t Type) Newf(msg string, args ...any) *Error
- func (t *Type) Set(plain string) error
- func (t Type) String() string
- func (t *Type) UnmarshalText(text []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.