Class: JsonRpcObjects::V11::Alt::Error
- Inherits:
-
WD::Error
- Object
- Generic::Object
- Generic::Error
- JsonRpcObjects::V10::Error
- WD::Error
- JsonRpcObjects::V11::Alt::Error
- Defined in:
- lib/json-rpc-objects/v11/alt/error.rb
Overview
Error description object class for ProcedureReturn.
Direct Known Subclasses
Constant Summary collapse
- VERSION =
Holds link to its version module.
JsonRpcObjects::V11::Alt
Constants inherited from WD::Error
Instance Attribute Summary
Attributes inherited from WD::Error
Attributes included from WD::Extensions
Attributes inherited from JsonRpcObjects::V10::Error
Attributes inherited from Generic::Object
Instance Method Summary collapse
-
#check! ⇒ Object
Checks correctness of the data.
-
#output ⇒ Hash
Renders data to output hash.
Methods inherited from WD::Error
Methods included from WD::Extensions
Methods inherited from JsonRpcObjects::V10::Error
Methods inherited from Generic::Object
create, #initialize, parse, #serialize, #to_json, version
Constructor Details
This class inherits a constructor from JsonRpcObjects::Generic::Object
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class JsonRpcObjects::V11::WD::Extensions
Instance Method Details
#check! ⇒ Object
Checks correctness of the data.
41 42 43 |
# File 'lib/json-rpc-objects/v11/alt/error.rb', line 41 def check! self.normalize! end |
#output ⇒ Hash
Renders data to output hash.
50 51 52 53 54 55 |
# File 'lib/json-rpc-objects/v11/alt/error.rb', line 50 def output result = super() result.delete("name") return result end |