BUPKIS
    Preparing search index...

    Class AssertionError

    BUPKIS' s custom AssertionError class, which is just a thin wrapper around Node.js' AssertionError.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Properties

    Constructors

    Methods

    • Type guard for an instance of this error.

      Parameters

      • value: unknown

        Some value

      Returns value is AssertionError

      true if value is an instance of AssertionError

    • Returns {
          actual: unknown;
          expected: unknown;
          message: string;
          name: string;
          stack: string | undefined;
      }

    Properties

    assertionId: LiteralStringUnion<"FAIL">

    Assertion ID of the assertion that caused this error.

    name: string = 'AssertionError'