Exception: OsUp::PoolIncompatible
- Inherits:
-
StandardError
- Object
- StandardError
- OsUp::PoolIncompatible
- Defined in:
- lib/osup/exceptions.rb
Instance Attribute Summary collapse
-
#pool ⇒ Object
readonly
Returns the value of attribute pool.
-
#pool_migrations ⇒ Object
readonly
Returns the value of attribute pool_migrations.
Instance Method Summary collapse
-
#initialize(pool_migrations) ⇒ PoolIncompatible
constructor
A new instance of PoolIncompatible.
Constructor Details
#initialize(pool_migrations) ⇒ PoolIncompatible
Returns a new instance of PoolIncompatible.
5 6 7 8 9 10 |
# File 'lib/osup/exceptions.rb', line 5 def initialize(pool_migrations) @pool = pool_migrations.pool @pool_migrations = pool_migrations super("#{pool} is in an incompatible state and cannot be upgraded") end |
Instance Attribute Details
#pool ⇒ Object (readonly)
Returns the value of attribute pool.
3 4 5 |
# File 'lib/osup/exceptions.rb', line 3 def pool @pool end |
#pool_migrations ⇒ Object (readonly)
Returns the value of attribute pool_migrations.
3 4 5 |
# File 'lib/osup/exceptions.rb', line 3 def pool_migrations @pool_migrations end |