errors

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OverlayError

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

func Append

func Append(destination *OverlayError, source any) *OverlayError

func Create

func Create(severity Severity, message string, args ...any) *OverlayError

func Wrap

func Wrap(err any, severity ...Severity) *OverlayError

func WrapPrefix

func WrapPrefix(err any, prefix string, args ...any) *OverlayError

func (*OverlayError) Error

func (self *OverlayError) Error() string

func (*OverlayError) Severity

func (self *OverlayError) Severity() Severity

func (*OverlayError) Unwrap

func (self *OverlayError) Unwrap() []error

type Severity

type Severity int
const (
	Severity_Warning Severity = iota
	Severity_Error
	Severity_Fatal
)

Jump to

Keyboard shortcuts

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