Method: Protocol::HTTP2::ProtocolError#initialize

Defined in:
lib/protocol/http2/error.rb

#initialize(message, code = PROTOCOL_ERROR) ⇒ ProtocolError



80
81
82
83
84
# File 'lib/protocol/http2/error.rb', line 80

def initialize(message, code = PROTOCOL_ERROR)
	super(message)
	
	@code = code
end