method.pipe_type_invalid
A pipe's type is missing, unknown or retired
| Type | https://mthds.ai/errors/method.pipe_type_invalid |
| 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 pipe names no type, an unknown one, or one the language has retired.
What to do
Set the pipe's type to one of the operators or controllers the language defines, and give it that type's fields.
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 |
Give pipe '{pipe}' one of the language's pipe types, then validate the method again. |
| Any other reader | contact_owner |
Ask the method's owner to give pipe '{pipe}' a valid type. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
Pipe '
{pipe}' has no usable type (reason:{reason}).
Parameters
A parameter is present on every occurrence of the code unless it is marked optional, and one marked operator-only reaches only whoever runs the runtime, never a caller.
| Name | Type | Description |
|---|---|---|
pipe |
identifier |
The pipe at fault. |
reason |
one of missing, unknown, retired |
Whether the type is missing, unknown or retired. |
pipe_type |
caller_text (optional) |
The type as the method writes it, when it writes one. |
See also
- Pipes — Operators
- Pipes — Controllers
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry