Documentation ¶
Index ¶
- func AsError(err error) *errorx
- func New(text string, opts ...Option) error
- func Wrap(err error, opts ...Option) error
- type Field
- type Option
- func WithAny(key string, value any) Option
- func WithCaller(skip ...int) Option
- func WithInner(err error) Optiondeprecated
- func WithInt(key string, value int64) Option
- func WithInternal(err error) Option
- func WithStacktrace() Option
- func WithString(key, value string) Option
- func WithType(typ Type) Option
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*errorx)
func WithCaller ¶
func WithInternal ¶ added in v1.0.1
func WithStacktrace ¶
func WithStacktrace() Option
func WithString ¶
Click to show internal directories.
Click to hide internal directories.