ErrorsConfiguration · rule
syntax.locales_unknown_option
Locales declaration has no such option.
Area 10, Configuration; 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 typedLocaleis decoded like any enum, so a tag the application doesn't support is aninvalid_valuefailure, and choosing a language from anAccept-Languageheader falls back todefault:. - next
- Remove
unsupported:(agent) - rule
- syntax.
locales_ unknown_ option - help
- https://jadpo.
dev/docs/errors/syntax. locales_ unknown_ option
Markdown for agents: /docs/errors/syntax.locales_unknown_option.md.Built from Jadpo main at aee2e8f.