ErrorsValues and types · rule
type.enum_empty
Enum declares no variants.
Area 2, Values and types; not declinable; the next step is usually the agent's.
type TicketStatus = Enum {} error TicketStatus has no variants
--> main.jadpo:1:6
|1 | type TicketStatus = Enum {} | ^^^^^^^^^^^^ an empty enum
- reason
- An enum is a closed list of named alternatives, so it needs at least one for a value to be.
- next
- Add the enum's variants, one name per line (agent)
- rule
- type.
enum_ empty - help
- https://jadpo.
dev/docs/errors/type. enum_ empty
Markdown for agents: /docs/errors/type.enum_empty.md.Built from Jadpo main at aee2e8f.