Exception: JRPC::Errors::MalformedResponseError
- Inherits:
-
ServerError
- Object
- RuntimeError
- Error
- ServerError
- JRPC::Errors::MalformedResponseError
- Defined in:
- lib/jrpc/errors.rb
Overview
Raised locally when a frame is unparseable or violates the envelope rules, so it never corresponds to a peer error object: no code, no data.
Instance Attribute Summary
Attributes inherited from ServerError
Instance Method Summary collapse
-
#initialize(message) ⇒ MalformedResponseError
constructor
A new instance of MalformedResponseError.
Constructor Details
#initialize(message) ⇒ MalformedResponseError
Returns a new instance of MalformedResponseError.
31 32 33 |
# File 'lib/jrpc/errors.rb', line 31 def initialize() super(, code: nil) end |