AuthErrorBase error thrown by Supabase Auth helpers. @exampleimport { AuthError } from '@supabase/auth-js' throw new AuthError('Unexpected auth error', 500, 'unexpected') class AuthError extends Error {constructor(message: string,status?: number,code?: string,);protected __isAuthError: boolean;code: ErrorCode | (string & {}) | undefined;status: number | undefined; toJSON(): {name: string; message: string; status: number | undefined; code: ErrorCode | (string & {}) | undefined; };}§Extends§Error[src]§Constructors§new AuthError(message: string, status?: number, code?: string)[src]§Properties§__isAuthError: boolean[src]§code: ErrorCode | (string & {}) | undefined[src]Error code associated with the error. Most errors coming from HTTP responses will have a code, though some errors that occur before a response is received will not have one present. In that case {@link #status} will also be undefined. §status: number | undefined[src]HTTP status code that caused the error. §Methods§toJSON(): {name: string; message: string; status: number | undefined; code: ErrorCode | (string & {}) | undefined; }[src]