@nevware21/tripwire - v0.1.2
    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.

    AssertionFailure - If the function does not throw an error.

    AssertionError - If the error thrown does not match the expected error.

    AssertionError - If the error message does not match the expected message.