Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Constructors

Properties

__isAuthError: boolean
code: undefined | 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 {@link #status} will also be undefined.

message: string
name: string
reasons: 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

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc