Class: KJess::Response::ClientError
- Inherits:
-
KJess::Response
- Object
- Protocol
- KJess::Response
- KJess::Response::ClientError
- Defined in:
- lib/kjess/response/client_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
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
11 12 13 |
# File 'lib/kjess/response/client_error.rb', line 11 def error? true end |
#exception ⇒ Object
15 16 17 |
# File 'lib/kjess/response/client_error.rb', line 15 def exception KJess::ClientError.new( ) end |
#message ⇒ Object
7 8 9 |
# File 'lib/kjess/response/client_error.rb', line 7 def args.join(' ') end |