method.signature_mismatch
A pipe differs from its signature
| Type | https://mthds.ai/errors/method.signature_mismatch |
| 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 concrete pipe's inputs or output differ from those of the signature it implements.
What to do
Compare the pipe with its signature's inputs and output, and change one or the other so that they agree.
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 |
Make pipe '{pipe}' take the inputs and give the output its signature declares, then validate the method again. |
| Any other reader | contact_owner |
Ask the method's owner to make pipe '{pipe}' match its signature. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
Pipe '
{pipe}' differs from the signature it implements ({finding}).
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
pipe |
identifier |
The concrete pipe. |
finding |
caller_text |
How the pipe differs from its signature. |
See also
- Contract-only pipe signatures
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry