Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AuthWeakPasswordError

Error thrown when a supplied password is considered weak.

@example
import { AuthWeakPasswordError } from '@supabase/auth-js'

throw new AuthWeakPasswordError('Password too short', 400, ['min_length'])
class AuthWeakPasswordError extends CustomAuthError {
constructor(
message: string,
status: number,
);
}

§Extends

§
CustomAuthError
[src]

§Constructors

§
new AuthWeakPasswordError(message: string, status: number, reasons: WeakPasswordReasons[])
[src]

§Properties

§

Reasons why the password is deemed weak.