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.
68 69 70 71 72 73 |
# File 'lib/osctld/exceptions.rb', line 68 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.
64 65 66 |
# File 'lib/osctld/exceptions.rb', line 64 def exception @exception end |
#pool ⇒ Object (readonly)
Returns the value of attribute pool.
64 65 66 |
# File 'lib/osctld/exceptions.rb', line 64 def pool @pool end |