Exception: Service::Client::ServiceError
- Defined in:
- lib/service-client/service_error.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(error) ⇒ ServiceError
Returns a new instance of ServiceError.
4 5 6 7 |
# File 'lib/service-client/service_error.rb', line 4 def initialize(error) super(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
2 3 4 |
# File 'lib/service-client/service_error.rb', line 2 def error @error end |