Exception: MPI::Errors::ServiceError
- Inherits:
-
StandardError
- Object
- StandardError
- MPI::Errors::ServiceError
- Defined in:
- lib/mpi/errors/errors.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body = nil) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(body = nil) ⇒ ServiceError
Returns a new instance of ServiceError.
8 9 10 11 |
# File 'lib/mpi/errors/errors.rb', line 8 def initialize(body = nil) @body = body super end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
6 7 8 |
# File 'lib/mpi/errors/errors.rb', line 6 def body @body end |