Skip to content

StoreError

Captures an error produced while building a decision Store.

export type StoreError = {
name: string;
error?: unknown;
message: () => string;
};

Errors

StoreUnexpectedError

An unexpected error occurred while building the store.

StoreOptionsError

The StoreOptions, either provided to createStoreContext() or expressed in the dd.config.mjs configuration file, are invalid.

StoreSourceError

One of the DecisionSource or SchemaSource, provided to createStoreContext() or expressed in the dd.config.mjs configuration file, is invalid.

See also