AssertMakeError: ((optDetails?, ErrorConstructor?, options?) => Error)

Type declaration

    • (optDetails?, ErrorConstructor?, options?): Error
    • The makeError function, recording details for the console.

      The optional optDetails can be a string.

      Parameters

      • Optional optDetails: Details

        The details of what was asserted

      • Optional ErrorConstructor: ErrorConstructor

        An optional alternate error constructor to use.

      • Optional options: AssertMakeErrorOptions

      Returns Error

Generated using TypeDoc