Exception: Poefy::StructureInvalid

Inherits:
DatabaseError show all
Defined in:
lib/poefy/exceptions.rb

Instance Method Summary collapse

Methods inherited from Error

#console_msg

Constructor Details

#initialize(console_message = nil) ⇒ StructureInvalid

Returns a new instance of StructureInvalid.



100
101
102
# File 'lib/poefy/exceptions.rb', line 100

def initialize console_message = nil
  super msg, console_message
end

Instance Method Details

#msgObject



97
98
99
# File 'lib/poefy/exceptions.rb', line 97

def msg
  "Database contains invalid structure"
end