err

package
v1.8.11 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

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

func NewErrors

func NewErrors(title string) *Errors

func (*Errors) Critical

func (errors *Errors) Critical(err IError)

func (*Errors) GetAll

func (errors *Errors) GetAll() []IError

func (*Errors) GetCriticalErrors

func (errors *Errors) GetCriticalErrors() []IError

func (*Errors) GetWarningErrors

func (errors *Errors) GetWarningErrors() []IError

func (*Errors) HasError

func (errors *Errors) HasError() bool

func (*Errors) Warning

func (errors *Errors) Warning(err IError)

type IError

type IError interface {
	error
}

type IErrors

type IErrors interface {
	Warning(err IError)
	Critical(err IError)
	GetWarningErrors() []IError
	GetCriticalErrors() []IError
	GetAll() []IError
	HasError() bool
}

Jump to

Keyboard shortcuts

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