This should be a specific exception derived from StandardError. TraversalSomethingSomethingError :)