Exception: BibCard::EntityNotFoundException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/bib_card/entity_not_found_exception.rb

Constant Summary collapse

MESSAGE =
'Entity not found.'

Instance Method Summary collapse

Constructor Details

#initialize(custom_msg = nil) ⇒ EntityNotFoundException

Returns a new instance of EntityNotFoundException.



6
7
8
# File 'lib/bib_card/entity_not_found_exception.rb', line 6

def initialize(custom_msg = nil)
  custom_msg.nil? ? super(MESSAGE) : super(custom_msg)
end