errors

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidInput         = Type(errors.New("invalid input"))
	ErrNotAllowed           = Type(errors.New("not allowed"))
	ErrNotFound             = Type(errors.New("not found"))
	ErrTemporaryUnavailable = Type(errors.New("temporary unavailable"))
	ErrInternalError        = Type(errors.New("internal error"))
)

Functions

This section is empty.

Types

type Type

type Type error

type TypedError

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

func NewTyped

func NewTyped(typ Type, cause error) TypedError

func (TypedError) Error

func (e TypedError) Error() string

func (TypedError) Unwrap

func (e TypedError) Unwrap() error

Jump to

Keyboard shortcuts

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