disgorderr

package
v0.16.13 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 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

func NewHandlerSpecErr(code uint8, info string) error

func Wrap

func Wrap(err error, message string) error

Types

type ClosedConnectionErr

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

func (*ClosedConnectionErr) Error

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

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

func (*HandlerSpecErr) Code

func (e *HandlerSpecErr) Code() uint8

func (*HandlerSpecErr) Error

func (e *HandlerSpecErr) Error() string

Jump to

Keyboard shortcuts

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