Nordcom AB's Logo
NewsDocumentation
Admin
728d899
Terms of ServicePrivacy Policy
© 2023-2026 Nordcom AB
Back
404:

Unknown locale

API_UNKNOWN_LOCALE

Error Class Name

UnknownLocaleError.

Possible Causes

  • Invalid user input.
  • Misconfigured provider(s).

Documentation

An unknown or invalid locale was provided to the API.

Code

try {
    Locale.from('hello-world');
} catch {
    throw new UnknownLocaleError();
}

Related Articles

  • TODO
  • Another TODO