Exception: Moose::Inventory::DB::MooseDBException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Moose::Inventory::DB::MooseDBException
- Defined in:
- lib/moose_inventory/db/exceptions.rb
Overview
This class provides a Moose-specific db exception error
Constant Summary collapse
- DEFAULT_MESSAGE =
'An undefined Moose exception occurred'
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ MooseDBException
constructor
A new instance of MooseDBException.
Constructor Details
#initialize(message = nil) ⇒ MooseDBException
Returns a new instance of MooseDBException.
11 12 13 |
# File 'lib/moose_inventory/db/exceptions.rb', line 11 def initialize( = nil) super( || DEFAULT_MESSAGE) end |