ErrorExpectation<Return, Actual> extension
Matchers against errors
- on
-
- ExpectationBase<
Object?, Return, Actual>
- ExpectationBase<
Methods
-
isArgumentError(
) → Return - A matcher for ArgumentError.
-
isConcurrentModificationError(
) → Return - A matcher for ConcurrentModificationError.
-
isCyclicInitializationError(
) → Return -
A matcher for
CyclicInitializationError
. -
isException(
) → Return - A matcher for Exception.
-
isFormatException(
) → Return - A matcher for FormatException.
-
isNoSuchMethodError(
) → Return - A matcher for NoSuchMethodError.
-
isNullThrownError(
) → Return -
A matcher for
NullThrownError
. -
isRangeError(
) → Return - A matcher for RangeError.
-
isStateError(
) → Return - A matcher for StateError.
-
isUnimplementedError(
) → Return - A matcher for UnimplementedError.
-
isUnsupportedError(
) → Return - A matcher for UnsupportedError.