errx

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllDetails   = tozd.AllDetails
	As           = tozd.As
	Base         = tozd.Base
	BaseWrap     = tozd.BaseWrap
	BaseWrapf    = tozd.BaseWrapf
	Basef        = tozd.Basef
	Cause        = tozd.Cause
	Details      = tozd.Details
	Errorf       = tozd.Errorf
	Is           = tozd.Is
	Join         = tozd.Join
	New          = tozd.New
	Prefix       = tozd.Prefix
	Unjoin       = tozd.Unjoin
	Unwrap       = tozd.Unwrap
	WithDetails  = tozd.WithDetails
	WithMessage  = tozd.WithMessage
	WithMessagef = tozd.WithMessagef
	WithStack    = tozd.WithStack
	Wrap         = tozd.Wrap
	WrapWith     = tozd.WrapWith
	Wrapf        = tozd.Wrapf
)

We simply import the interesting symbols that we want from our given error handling package.

In this case, the error handling package we use is gitlab.com/tozd/go/errors

Functions

This section is empty.

Types

type Causer

type Causer interface {
	Cause() error
}

Error cause interface.

type Detailer

type Detailer interface {
	Details() map[string]any
}

Error details interface.

type Error

type Error tozd.E

type StackTracer

type StackTracer interface {
	StackTrace() []uintptr
}

Stack trace interface.

type Unwrapper

type Unwrapper interface {
	Unwrap() error
}

Error unwrap interface.

type UnwrapperJoined

type UnwrapperJoined interface {
	Unwrap() []error
}

Joined error unwrap interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL