Exception: Nomade::AllocationFailedError
- Inherits:
-
StandardError
- Object
- StandardError
- Nomade::AllocationFailedError
- Defined in:
- lib/nomade/exceptions.rb
Instance Attribute Summary collapse
-
#allocations ⇒ Object
readonly
Returns the value of attribute allocations.
-
#evaluation_id ⇒ Object
readonly
Returns the value of attribute evaluation_id.
Instance Method Summary collapse
-
#initialize(evaluation_id, allocations) ⇒ AllocationFailedError
constructor
A new instance of AllocationFailedError.
Constructor Details
#initialize(evaluation_id, allocations) ⇒ AllocationFailedError
Returns a new instance of AllocationFailedError.
8 9 10 11 |
# File 'lib/nomade/exceptions.rb', line 8 def initialize(evaluation_id, allocations) @evaluation_id = evaluation_id @allocations = allocations end |
Instance Attribute Details
#allocations ⇒ Object (readonly)
Returns the value of attribute allocations.
12 13 14 |
# File 'lib/nomade/exceptions.rb', line 12 def allocations @allocations end |
#evaluation_id ⇒ Object (readonly)
Returns the value of attribute evaluation_id.
12 13 14 |
# File 'lib/nomade/exceptions.rb', line 12 def evaluation_id @evaluation_id end |