Throw exceptions on route parse errors