@shopify/polaris
Version:
Shopify’s admin product component library
11 lines (10 loc) • 374 B
text/typescript
export class MissingAppProviderError extends Error {
constructor(message = '') {
super(
`${
message ? `${message} ` : message
}Your application must be wrapped in an <AppProvider> component. See https://polaris.shopify.com/components/structure/app-provider for implementation instructions.`,
);
this.name = 'MissingAppProviderError';
}
}