disgorderr

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HandlerSpecErrCodeUnexpectedMiddleware uint8 = iota
	HandlerSpecErrCodeMissingHandler
	HandlerSpecErrCodeUnexpectedHandler
	HandlerSpecErrCodeUnexpectedCtrl
	HandlerSpecErrCodeNotHandlerCtrlImpl
	HandlerSpecErrCodeUnknownHandlerSignature
)

Variables

This section is empty.

Functions

func NewHandlerSpecErr added in v0.16.5

func NewHandlerSpecErr(code uint8, info string) error

func Wrap

func Wrap(err error, message string) error

Types

type ClosedConnectionErr added in v0.16.4

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

func (*ClosedConnectionErr) Error added in v0.16.4

func (cce *ClosedConnectionErr) Error() string

type Err

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

func (*Err) Error

func (e *Err) Error() string

type HandlerSpecErr added in v0.16.5

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

func (*HandlerSpecErr) Code added in v0.16.5

func (e *HandlerSpecErr) Code() uint8

func (*HandlerSpecErr) Error added in v0.16.5

func (e *HandlerSpecErr) Error() string

Jump to

Keyboard shortcuts

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