Skip to content

run.cancelled

The run was cancelled by its caller

Type https://mthds.ai/errors/run.cancelled
Family run: A run's lifecycle and its reads.
Domain input: the caller acts, by changing the request or its inputs
Retry yes: repeating the operation may succeed, after retry_after seconds when the problem gives it
HTTP status 409
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

The run's own caller cancelled it before it ended. Nothing was wrong with the run, so a new one may succeed.

What to do

Start a new run if the result is still wanted.

Next steps

A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the caller, and the second for any other reader.

Reader Kind Detail
The domain's actor retry Start the run again if its result is still wanted.
Any other reader read_run Read the run to see when it was cancelled.

Detail

The problem's detail is written from this template, filled with the occurrence's parameters:

The run was cancelled by its caller before it ended.

Parameters

This code declares no parameters, so its problems carry no params.

See also