Configuration and time · rule
syntax.locales_unknown_option
Locales declaration has no such option.
Area 10, Configuration and time; not declinable; the next step is usually the agent's.
There is no unsupported: setting (see "Locales"). A misspelt
option (suported:) is reported the same way, with the nearest name:
locales { default: Locale.en_gb supported: [Locale.en_gb] unsupported: Locale.fr_fr}
error: `unsupported` isn't an option of `locales` --> main.jadpo:4:5 |4 | unsupported: Locale.fr_fr | ^^^^^^^^^^^ unknown option reason: There is no `unsupported:` setting. A request field typed `Locale` is decoded like any enum, so a tag the application doesn't support is an `invalid_value` failure, and choosing a language from an `Accept-Language` header falls back to `default:`. next: Remove `unsupported:` (agent) rule: syntax.locales_unknown_option help: https://jadpo.dev/docs/errors/syntax.locales_unknown_optioncheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/syntax.locales_unknown_option.md.Built from Jadpo main at a707efb.