supertokens-react-native
Version:
React Native SDK for SuperTokens
11 lines (10 loc) • 411 B
TypeScript
/**
* This error usually indicates that the API exposed by the backend SDKs responded
* with `{status: "GENERAL_ERROR"}`. This should be used to show errors to the user
* in your frontend application.
*/
export declare class SuperTokensGeneralError extends Error {
isSuperTokensGeneralError: boolean;
constructor(message: string);
static isThisError(err: any): err is SuperTokensGeneralError;
}