Path 1: 8 calls (1.0)

'foo\n' (4) 'NO\n' (3) 'egg\n' (1)

InvalidResponse (8)

1def on_validate_error(self, value: str, error: InvalidResponse) -> None:
2        """Called to handle validation error.
3
4        Args:
5            value (str): String entered by user.
6            error (InvalidResponse): Exception instance the initiated the error.
7        """
8        self.console.print(error)