Exception: Moose::Inventory::DB::MooseDBException

Inherits:
RuntimeError
  • Object
show all
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

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(message = nil)
  super(message || DEFAULT_MESSAGE)
end