Exception: Exception
- Defined in:
- lib/error.rb
Overview
adding additional fields to Exception class to format errors according to OT-API
Instance Attribute Summary collapse
-
#errorCause ⇒ Object
Returns the value of attribute errorCause.
Instance Method Summary collapse
Instance Attribute Details
#errorCause ⇒ Object
Returns the value of attribute errorCause.
4 5 6 |
# File 'lib/error.rb', line 4 def errorCause @errorCause end |
Instance Method Details
#http_code ⇒ Object
5 |
# File 'lib/error.rb', line 5 def http_code; 500; end |