Skip to content

pipe.function_raised

The method's function raised

Type https://mthds.ai/errors/pipe.function_raised
Family pipe: A pipe failing at run time because of what the method does.
Domain method: the method's author acts, by changing the method
Retry no: repeating the operation fails the same way
HTTP status 422
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

A PipeFunc's own code raised an error. The problem does not carry the error's message, which the runtime cannot inspect and which can quote the run's inputs or outputs; an implementation keeps it for whoever runs the runtime, in its logs for instance.

What to do

Run the function locally on the same inputs to reproduce the error and read its message, or read the message where whoever runs the runtime keeps it, then fix the function and run the method again.

Next steps

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

Reader Kind Detail
The domain's actor change_method Fix the function '{function}' so that it does not raise on these inputs, then run the method again.
Any other reader contact_owner Ask the method's owner to fix the function '{function}' of pipe '{pipe}'.

Detail

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

The function '{function}' of pipe '{pipe}' raised an error.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The PipeFunc whose function raised.
function identifier The function's import path.

See also