isStateError = const _StateError()

A matcher for StateErrors.