fynjs API
    Preparing search index...

    Function expectError

    • Require this step to fail. A throw, a rejection, and next(err) all satisfy it, and the error is passed on as the next step's input. If the step succeeds, the run fails. Returning an Error as a normal value counts as success, so it fails too.

      Parameters

      Returns WrapObject