Exception: SimpleEndpoint::UnhandledResultError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/simple_endpoint/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(matched_case, handler) ⇒ UnhandledResultError

Returns a new instance of UnhandledResultError.



13
14
15
# File 'lib/simple_endpoint/errors.rb', line 13

def initialize(matched_case, handler)
  super("Key: #{matched_case} is not present at #{handler}")
end