diff options
| author | ST-DDT <[email protected]> | 2025-02-28 08:24:02 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-28 08:24:02 +0100 |
| commit | 41ebbbbe4432b7583f4bd51c5339be0af8ed09c9 (patch) | |
| tree | 52f42cc575dd521ce586c24778756914557d15db /src/internal | |
| parent | dce28d6e46b57043339471b5db5ec8f0e121fdcd (diff) | |
| download | faker-41ebbbbe4432b7583f4bd51c5339be0af8ed09c9.tar.xz faker-41ebbbbe4432b7583f4bd51c5339be0af8ed09c9.zip | |
docs: improve missing data error (#3406)
Diffstat (limited to 'src/internal')
| -rw-r--r-- | src/internal/locale-proxy.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/locale-proxy.ts b/src/internal/locale-proxy.ts index dbb9f277..3e77a93a 100644 --- a/src/internal/locale-proxy.ts +++ b/src/internal/locale-proxy.ts @@ -72,6 +72,7 @@ export function assertLocaleData<T>( } else if (value === undefined) { throw new FakerError( `The locale data for '${path.join('.')}' are missing in this locale. + If this is a custom Faker instance, please make sure all required locales are used e.g. '[de_AT, de, en, base]'. Please contribute the missing data to the project or use a locale/Faker instance that has these data. For more information see https://fakerjs.dev/guide/localization.html` ); |
