aurestnontripping

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(err error) bool

func New

func New(ctx context.Context, err error) error

Types

type Impl

type Impl struct {
	// contains filtered or unexported fields
}

func (*Impl) Ctx

func (e *Impl) Ctx() context.Context

func (*Impl) Error

func (e *Impl) Error() string

func (*Impl) IsNonTrippingError

func (e *Impl) IsNonTrippingError() bool

type NonTrippingError

type NonTrippingError interface {
	Ctx() context.Context
	// IsNonTrippingError is a marker method.
	// The presence of this method makes the interface unique and thus recognizable by a simple type check.
	IsNonTrippingError() bool
}

Jump to

Keyboard shortcuts

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