Exception: OsCtld::PoolUpgradeError
- Inherits:
-
StandardError
- Object
- StandardError
- OsCtld::PoolUpgradeError
- Defined in:
- lib/osctld/exceptions.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
-
#pool ⇒ Object
readonly
Returns the value of attribute pool.
Instance Method Summary collapse
-
#initialize(pool, exception) ⇒ PoolUpgradeError
constructor
A new instance of PoolUpgradeError.
Constructor Details
#initialize(pool, exception) ⇒ PoolUpgradeError
Returns a new instance of PoolUpgradeError.
81 82 83 84 85 86 |
# File 'lib/osctld/exceptions.rb', line 81 def initialize(pool, exception) @pool = pool @exception = exception super("unable to upgrade pool #{pool}: #{exception.}") end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
77 78 79 |
# File 'lib/osctld/exceptions.rb', line 77 def exception @exception end |
#pool ⇒ Object (readonly)
Returns the value of attribute pool.
77 78 79 |
# File 'lib/osctld/exceptions.rb', line 77 def pool @pool end |