Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • Parameters

    • Optional options: object
      • Optional actual?: any

        The actual property on the error instance.

      • Optional expected?: any

        The expected property on the error instance.

      • Optional message?: string

        If provided, the error message is set to this value.

      • Optional operator?: string

        The operator property on the error instance.

      • Optional stackStartFn?: Function

        If provided, the generated stack trace omits frames before this function.

    Returns AssertionError

Properties

actual

actual: any

code

code: "ERR_ASSERTION"

expected

expected: any

generatedMessage

generatedMessage: boolean

message

message: string

name

name: string

operator

operator: string

Optional stack

stack: string

Static Error

Error: ErrorConstructor

Generated using TypeDoc