Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStreamCancelled = reg("stream cancelled by context") ErrStreamReset = reg("stream already been reset") ErrReqBodyTooLong = reg("internal: request body larger than specified content length") ErrReqBodyRead = reg("internal: request body read error") ErrFramerWrite = reg("internal: framer write error") )
View Source
var ( ErrStreamResetRemote = func(streamID uint32, code http2.ErrCode) StreamError { return StreamError{"remote stream reset", streamID, h2Code(code)} } ErrStreamResetLocal = func(streamID uint32, code http2.ErrCode) StreamError { return StreamError{"local stream reset", streamID, h2Code(code)} } )
Functions ¶
This section is empty.
Types ¶
type StreamError ¶
type StreamError struct {
// contains filtered or unexported fields
}
func (StreamError) Error ¶
func (e StreamError) Error() string
func (StreamError) Is ¶
func (e StreamError) Is(err error) bool
func (StreamError) Unwrap ¶
func (e StreamError) Unwrap() error
func (StreamError) Wrap ¶
func (e StreamError) Wrap(err error) StreamError
Click to show internal directories.
Click to hide internal directories.