errors

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DispatcherBusyErr error = errors.New("dispatcher busy")
)

Functions

This section is empty.

Types

type BackendErrs

type BackendErrs map[string][]error

func (BackendErrs) MarshalJSON

func (b BackendErrs) MarshalJSON() ([]byte, error)

type DispatchError

type DispatchError struct {
	BackendErrs BackendErrs
	FilterInfo  string
	FilterErr   error
}

func New

func New() *DispatchError

func (*DispatchError) IsFiltered

func (d *DispatchError) IsFiltered() bool

func (*DispatchError) IsOK

func (d *DispatchError) IsOK() bool

func (DispatchError) MarshalJSON

func (d DispatchError) MarshalJSON() ([]byte, error)

func (*DispatchError) String

func (d *DispatchError) String() string

Jump to

Keyboard shortcuts

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