# Raised to represent when there's no element at an Xpath class NoElementAtPath < StandardError def initialize(msg="No element at path found") super end end # Did not find any element by provided key in the Hash class NoElementInHash < StandardError def initialize(msg='No element in Hash found') super end end