Exception: Quicsilver::Protocol::MessageError
- Inherits:
-
StandardError
- Object
- StandardError
- Quicsilver::Protocol::MessageError
- Defined in:
- lib/quicsilver/protocol/frames.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(msg = nil, error_code: H3_MESSAGE_ERROR) ⇒ MessageError
constructor
A new instance of MessageError.
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_code ⇒ Object (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 |