Thrown when an operation is cancelled because the process is shutting down.
Creates a ShutdownError.
Optional override for the cancellation reason.
Optional
Optional cause, such as the last error of an exhausted retry loop.
Thrown when an operation is cancelled because the process is shutting down.