Exception: Quicsilver::Protocol::MessageError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/quicsilver/protocol/frames.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, error_code: H3_MESSAGE_ERROR) ⇒ MessageError

Returns a new instance of MessageError.



55
56
57
58
# File 'lib/quicsilver/protocol/frames.rb', line 55

def initialize(msg = nil, error_code: H3_MESSAGE_ERROR)
  @error_code = error_code
  super(msg)
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



54
55
56
# File 'lib/quicsilver/protocol/frames.rb', line 54

def error_code
  @error_code
end