Exception: Prickle::Exceptions::ElementNotFound

Inherits:
Exception
  • Object
show all
Includes:
Prickle::Exceptions
Defined in:
lib/prickle/exceptions.rb

Instance Method Summary collapse

Methods included from Prickle::Exceptions

#message

Constructor Details

#initialize(type, identifier, text, caught_exception) ⇒ ElementNotFound

Returns a new instance of ElementNotFound.



13
14
15
# File 'lib/prickle/exceptions.rb', line 13

def initialize(type, identifier, text, caught_exception)
  @message = Message::ElementNotFound.new(type, identifier, text, caught_exception).to_s
end