Module: HTTP2::Error

Included in:
Connection, FlowBuffer, Framer, Header::Decompressor, Header::EncodingContext, Header::Huffman, Stream
Defined in:
lib/http/2/error.rb,
sig/error.rbs

Overview

Stream, connection, and compressor exceptions.

Defined Under Namespace

Classes: CompressionError, ConnectionClosed, Error, FlowControlError, FrameSizeError, HandshakeError, InternalError, ProtocolError, StreamClosed, StreamLimitExceeded

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.typesObject (readonly)

Returns the value of attribute types.



9
10
11
# File 'lib/http/2/error.rb', line 9

def types
  @types
end

Instance Method Details

#self?.typesHash[Symbol, singleton(Error)]

Returns:

  • (Hash[Symbol, singleton(Error)])


3
# File 'sig/error.rbs', line 3

def self?.types: () -> Hash[Symbol, singleton(Error)]