| Parsing & modules |
syntax-error |
File could not be read or failed Python parsing. |
|
duplicate-module |
Two loaded files resolve to the same dotted module name. |
|
unresolved-import |
A referenced symbol was imported from a module not found under --root or the package root. |
| Specifications & clauses |
bad-clause |
Malformed @spec clause or Refines declaration (e.g., positional clause argument, non-lambda predicate, missing mapping). |
|
misplaced-clause |
Clause used in the wrong position (e.g., method clause on @spec, class clause on a method, Requires/Ensures/Modifies without Action, or calling an action outside a valid context). |
|
bad-binding |
A lambda parameter does not match the state or action/function parameters it binds. |
|
role-conflict |
A field declares multiple roles or a method is both an action and Pure. |
|
no-init |
A State or Ghost variable has neither a default value nor an Init clause. |
|
missing-type |
An action or contract parameter has no type annotation. |
|
no-transition |
An action has neither a method body nor an Action(...) predicate. |
|
missing-mapping |
A Refines mapping omits an abstract variable or non-matching abstract constant. |
| Models & domains |
bad-model |
Malformed Model(...) argument or target (not a specification or contract). |
|
bad-domain |
Invalid constant value, Symmetry argument, or domain expression. |
|
unbound-constant |
A Constant field without a default is missing from Model(..., constants={...}). |
|
no-actions |
The model selects no actions to check. |
|
missing-domain |
A quantified parameter has no finite domain in Model(..., domains={...}) (and is not bool, None, or a Literal). |
|
vacuous |
A parameter domain is empty, or the specification has zero initial states. |
| Expressions & bodies |
unknown-name |
Unbound variable, unknown state field, or unknown clause/action name referenced in Model. |
|
bad-write |
A method body assigns to a Constant field. |
|
bad-arity |
Wrong number of arguments to an operator, builtin, primitive, or action call. |
|
level-error |
Temporal or primed expression used in an invalid TLA⁺ level context (e.g., prime(...) inside a state-level predicate). |
|
unsupported |
Valid Python construct outside the subset supported by Tanny. |
| Internal |
internal |
Manyan rejected Tanny's generated TLA⁺ translation. This is always a bug in Tanny; please report it with tanny translate output. |