Exception: Libis::Services::ServiceError
- Inherits:
-
Exception
- Object
- Exception
- Libis::Services::ServiceError
- Defined in:
- lib/libis/services/service_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(error) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(error) ⇒ ServiceError
Returns a new instance of ServiceError.
9 10 11 |
# File 'lib/libis/services/service_error.rb', line 9 def initialize(error) @message = error.to_s end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
7 8 9 |
# File 'lib/libis/services/service_error.rb', line 7 def @message end |