CancelledError¶
No import is needed.
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
CancelledError¶
Error raised when a cooperative cancellation token is already cancelled.
constructor¶
Creates a CancelledError with message.
message¶
Human-readable explanation of the cancellation, suitable for logs and error output.
code¶
Stable machine code.
cancelled¶
Factory for a standard cancelled error.