GENERIC_TODO

This error is thrown when something is unimplemented or work in progress and not ready to be used or consumed.

TodoErrorHTTP 404GenericErrorKind

Possible causes

  • Querying an in-development route.
  • Using a non-stable provider with unimplemented features.

How it's thrown

@nordcom/commerce-errors
// TODO: Implement feature XxYy.

throw new TodoError();

Thrown from

packages/db/src/services/shop.ts:194
throw new TodoError('Shop.create does not write the feature-flag join; use the flag tooling instead.');
View ↗
packages/db/src/services/shop.ts:214
throw new TodoError(`Shop.find filter is not supported by the Convex seam: ${JSON.stringify(filter)}`);
View ↗
packages/db/src/services/shop.ts:223
throw new TodoError(
View ↗
packages/db/src/services/shop.ts:233
throw new TodoError(
View ↗
packages/db/src/services/shop.ts:240
throw new TodoError('Shop.findOneAndUpdate does not write the feature-flag join.');
View ↗
packages/db/src/services/user.ts:71
throw new TodoError(`User.find filter is not supported by the Convex seam: ${JSON.stringify(filter)}`);
View ↗
packages/db/src/services/user.ts:88
throw new TodoError(
View ↗
packages/errors/src/index.ts:1141
* throw new TodoError();
View ↗
apps/storefront/src/api/shopify/collection/pagination.ts:107
throw new TodoError(); // TODO: Add ErrorCode and Error for this.
View ↗
apps/storefront/src/api/shopify/collection/pagination.ts:115
throw new TodoError(); // TODO: Add ErrorCode and Error for this.
View ↗
apps/storefront/src/utils/locale/weight.ts:37
throw new TodoError(`Unknown weight unit: ${unit}`);
View ↗
apps/storefront/src/utils/locale/weight.ts:59
throw new TodoError(`Unknown unit: ${unit}`);
View ↗
apps/storefront/src/utils/locale/weight.ts:143
throw new TodoError(`Unknown round option: "${round}"`);
View ↗
apps/storefront/src/utils/trackable.tsx:155
throw new TodoError();
View ↗
apps/storefront/src/utils/trackable.tsx:158
throw new TodoError('shopifyEventHandler() called for non-Shopify shop.');
View ↗

On this page