A matcher that verifies a Result is Failure containing value.
value
expect(Failure('error'), isFailureWith('error'));
Matcher isFailureWith(Object? value) => _IsFailureWith(value);