Exception: PerfectWorld::CorruptedDatabase

Inherits:
Error
  • Object
show all
Defined in:
lib/perfect_world/error.rb

Overview

Should be raised, when a database corruption is detected.

Instance Method Summary collapse

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