CustomAuthError
Flexible error class used to create named auth errors at runtime.
@example
import { CustomAuthError } from '@supabase/auth-js'
throw new CustomAuthError('My custom auth error', 'MyAuthError', 400, 'custom_code')
class CustomAuthError extends AuthError {}
constructor(
message: string,
name: string,
status: number,
code: string | undefined,
);name: string;
status: number;