unknown-kind
What it means#
A word at the start of a declaration that is neither a keyword of the language nor a kind in scope (pumpp P3 { … }), a kind another extends that is not declared, or an end of a relation that is neither a kind nor an element of the language. Declare the kind (kind pump { … }), or include the file or library that does.
How to fix it#
The message says what is wrong and where, and often what was meant (Did you mean …?). Change the model so that what this page describes no longer holds, then check again: archec check main.arche.
An error: archec builds nothing until it is fixed.
archec check --beginner says the most common messages in plain words, with the names that exist.
The automatic fix#
archec has no fix of its own for this code. When the message says Did you mean …?, VS Code offers that change (Quick Fix).
In the terminal#
archec explain unknown-kind prints this explanation; archec explain kinds lists the codes of its area.