Class: Protocol::HTTP2::StreamClosed

Inherits:
StreamError show all
Defined in:
lib/protocol/http2/error.rb

Direct Known Subclasses

HeaderError

Constant Summary

Constants inherited from Error

Error::CANCEL, Error::COMPRESSION_ERROR, Error::CONNECT_ERROR, Error::ENHANCE_YOUR_CALM, Error::FLOW_CONTROL_ERROR, Error::FRAME_SIZE_ERROR, Error::HTTP_1_1_REQUIRED, Error::INADEQUATE_SECURITY, Error::INTERNAL_ERROR, Error::NO_ERROR, Error::PROTOCOL_ERROR, Error::REFUSED_STREAM, Error::SETTINGS_TIMEOUT, Error::STREAM_CLOSED

Instance Attribute Summary

Attributes inherited from ProtocolError

#code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ StreamClosed

Returns a new instance of StreamClosed.



78
79
80
# File 'lib/protocol/http2/error.rb', line 78

def initialize(message)
	super message, STREAM_CLOSED
end