Skip to content

method.template_private_name

A template reads a name reserved to the runtime

Type https://mthds.ai/errors/method.template_private_name
Family method: The method as written, the validation vocabulary included.
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 template reaches for a name the runtime reserves for its own context, such as a name starting with an underscore.

What to do

Read only the pipe's declared inputs, and their fields, in its templates.

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 Stop reading the reserved names in the templates of pipe '{pipe}', then validate the method again.
Any other reader contact_owner Ask the method's owner to remove the reserved names from the templates of pipe '{pipe}'.

Detail

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

A template of pipe '{pipe}' reads names reserved to the runtime: {variables}.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The pipe at fault.
variables list of identifier The reserved names the template reads.

See also