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
Click to show internal directories.
Click to hide internal directories.