RequestCancelledError#

exception ray.serve.exceptions.RequestCancelledError(request_id: str | None = None)[source]#

Raise when a Serve request is cancelled.

Parameters:

request_id (str | None) – ID of the cancelled request, if known.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.