method.syntax
The method does not parse
| Type | https://mthds.ai/errors/method.syntax |
| 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 .mthds file is not valid TOML, or not valid MTHDS syntax. The problem's location names the file, the line and the column.
What to do
Open the file location.file names at location.line, fix the syntax, and validate the method again. An editor with MTHDS support reports such faults as you type.
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 syntax at the place the problem's location names, then validate the method again. |
| Any other reader | contact_owner |
Ask the method's owner to fix the method's syntax. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
The method does not parse (
{finding}).
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
finding |
caller_text |
What the parser found. |
See also
- .mthds File Format
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry