File size: 288 Bytes
9c6594c |
1 2 3 4 5 6 7 8 9 10 |
from typing import NoReturn, TypeVar
E = TypeVar('E', bound=Exception)
def reraise_exception(exn: E) -> NoReturn: ...
def ignore_and_continue(exn: E) -> bool: ...
def warn_and_continue(exn: E) -> bool: ...
def ignore_and_stop(exn: E) -> bool: ...
def warn_and_stop(exn: E) -> bool: ...
|