@nevware21/tripwire - v0.1.4
    Preparing search index...

    Interface IThrowOp

    Represents an interface for validating that the current (actual) value is a function that when executed is expected to throw an assertion of the matching type.

    The type of the result of the operation.

    interface IThrowOp {
        throws: ThrowFn;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    throws: ThrowFn

    Asserts that the value is a function that when executed will throw an error.

    Optional. The error to match.

    Optional. The message to match.

    Optional. The message to display if the assertion fails.

    The result of the operation.

    An AssertionFailure if the function does not throw an error.

    An AssertionError if the error thrown does not match the expected error.

    An AssertionError if the error message does not match the expected message.