Exception: Pod4::DatabaseError

Inherits:
Pod4Error
  • Object
show all
Defined in:
lib/pod4/errors.rb

Overview

Raised if something goes wrong on the database

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ DatabaseError

Returns a new instance of DatabaseError.



41
42
43
# File 'lib/pod4/errors.rb', line 41

def initialize(msg=nil)
  super(msg || $! && $!.message)
end