Exception: Datmachine::StandardError
- Defined in:
- lib/datmachine/error.rb
Overview
General error class for non API response exceptions
Instance Attribute Summary collapse
-
#message ⇒ Object
(also: #error_message)
readonly
Returns the value of attribute message.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ StandardError
constructor
A new instance of StandardError.
Methods inherited from Error
Constructor Details
#initialize(message = nil) ⇒ StandardError
Returns a new instance of StandardError.
56 57 58 59 |
# File 'lib/datmachine/error.rb', line 56 def initialize( = nil) @message = super() end |
Instance Attribute Details
#message ⇒ Object (readonly) Also known as: error_message
Returns the value of attribute message.
52 53 54 |
# File 'lib/datmachine/error.rb', line 52 def @message end |