expectErr method

Future<E> expectErr(
  1. Object msg
)

Mirrors to TaskResult.expectErr.

Implementation

Future<E> expectErr(Object msg) => then((r) => r.expectErr(msg));