Exception: MPI::Errors::ServiceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mpi/errors/errors.rb

Direct Known Subclasses

Request, Response

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



6
7
8
# File 'lib/mpi/errors/errors.rb', line 6

def body
  @body
end