errors

package
v0.1.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCombine = errors.New("combine error")
View Source
var ErrNoClue = errors.New("not enough information for making a decision")

ErrNoClue is for the situation that existing information is not enough to make a decision. For example, Router may return this error when there is no suitable route.

View Source
var New = errors.New

Functions

func Cause

func Cause(err error) error

func Multi

func Multi(base error, causes []error) error

func Single

func Single(base, cause error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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