exceptionFor method

UserException? exceptionFor(
  1. Object actionTypeOrList
)

Returns the UserException of the actionTypeOrList that failed.

actionTypeOrList can be a Type, or an Iterable of types. Any other type of object will return null and throw a StoreException after the async gap.

Note: This method uses the EXACT type in actionTypeOrList. Subtypes are not considered.

Implementation

UserException? exceptionFor(Object actionTypeOrList) => _store.exceptionFor(actionTypeOrList);