supertokens-node
Version:
NodeJS driver for SuperTokens core
17 lines (16 loc) • 383 B
TypeScript
// @ts-nocheck
import STError from "../../error";
export default class SessionError extends STError {
static FIELD_ERROR: "FIELD_ERROR";
constructor(options: {
type: "FIELD_ERROR";
payload: {
id: string;
error: string;
}[];
message: string;
} | {
type: "BAD_INPUT_ERROR";
message: string;
});
}