This error is thrown on certain methods when the password used is deemed weak. Inspect the reasons to identify what password strength rules are inadequate.

Hierarchy

Constructors

Properties

__isAuthError: boolean
code: undefined | ErrorCode | string & {}

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 #status will also be undefined.

message: string
name: string

Reasons why the password is deemed weak.

stack?: string
status: number

HTTP status code that caused the error.

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc