class Protocol::HTTP2::Error

def self.message_for(code)

@returns [String] The error message.
@parameter code [Integer] The HTTP/2 error code.
Get the message for a given HTTP/2 error code.
def self.message_for(code)
	return MESSAGES.fetch(code) do
		# Unknown error codes are allowed by the protocol, but don't have a static message.
		"Unknown code: #{code}!"
	end
end