Values 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_emptycheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.enum_empty.md.Built from Jadpo main at a707efb.