@shopify/polaris
Version:
Shopify’s product component library
7 lines (6 loc) • 357 B
JavaScript
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';
}
}