Class: KJess::Response::Error
- Inherits:
-
KJess::Response
- Object
- Protocol
- KJess::Response
- KJess::Response::Error
- Defined in:
- lib/kjess/response/error.rb
Constant Summary
Constants inherited from KJess::Response
Constants inherited from Protocol
Instance Attribute Summary
Attributes inherited from Protocol
Instance Method Summary collapse
Methods inherited from KJess::Response
#message, parse, #parse_options_to_args, #read_more, registry
Methods inherited from Protocol
arity, #initialize, keyword, #keyword, #parse_options_to_args, register, #to_protocol
Constructor Details
This class inherits a constructor from KJess::Protocol
Instance Method Details
#error? ⇒ Boolean
5 6 7 |
# File 'lib/kjess/response/error.rb', line 5 def error? true end |
#exception ⇒ Object
9 10 11 |
# File 'lib/kjess/response/error.rb', line 9 def exception raise KJess::ClientError end |