Enter to send·Shift+Enter new line
default_retry_on( exc: BaseException, ) -> bool
Return whether an exception should be retried by default.