Exception: Lore::Exceptions::Database_Exception

Inherits:
Exception
  • Object
show all
Defined in:
lib/lore/exceptions/database_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ Database_Exception

Returns a new instance of Database_Exception.



9
10
11
# File 'lib/lore/exceptions/database_exception.rb', line 9

def initialize(msg)
  @message = msg
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



7
8
9
# File 'lib/lore/exceptions/database_exception.rb', line 7

def message
  @message
end