error

package
v0.0.0-...-2c9eac5 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationError

type ApplicationError uint16

only 0 is reserved for STOPPING

const (
	Stopping             ApplicationError = iota
	ApplicationErrorTest ApplicationError = math.MaxUint16
)

func (ApplicationError) Error

func (e ApplicationError) Error() string

type TransportError

type TransportError uint16

used in CONNECTION_CLOSE frame

const (
	NoError TransportError = iota
	InternalError
	ServerBusy
	FlowControlError
	StreamIDError
	StreamStateError
	FinalOffsetError
	FrameEncodingError
	TransportParameterError
	VersionNegotiationError
	ProtocolViolation
	InvalidMigration TransportError = 0xc

	CryptoError = 0x100 // 0x1XX, XX is reserved for carrying error codes specific to the cryptographic handshake
)

func (TransportError) Error

func (e TransportError) Error() string

Jump to

Keyboard shortcuts

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