Enter to send·Shift+Enter new line
RetryOn = tuple[type[Exception], ...] | Callable[[Exception], bool]
Type for specifying which exceptions to retry on.
Can be either:
isinstance
True