Exception: PerfectWorld::CorruptedDatabase
- Defined in:
- lib/perfect_world/error.rb
Overview
Should be raised, when a database corruption is detected.
Instance Method Summary collapse
-
#initialize(database) ⇒ CorruptedDatabase
constructor
A new instance of CorruptedDatabase.
Constructor Details
#initialize(database) ⇒ CorruptedDatabase
Returns a new instance of CorruptedDatabase.
15 16 17 |
# File 'lib/perfect_world/error.rb', line 15 def initialize(database) super("Database seems corrupted: #{database}") end |