@applicaster/zapp-react-native-utils
Version:
Applicaster Zapp React Native utilities package
15 lines (12 loc) • 358 B
text/typescript
import * as ERROR_CODES from "./errorCodes";
export class MissingPluginError extends Error {
code: string;
constructor(identifier) {
super(
`Cannot find ${identifier} plugin. Please make sure the plugin is properly added in Zapp
Error code: ${ERROR_CODES.MISSING_PLUGIN}
`
);
this.code = ERROR_CODES.MISSING_PLUGIN;
}
}