SyncFailureCallback<E extends AppException, T> typedef
SyncFailureCallback<E extends AppException, T> =
T Function(E error)
Callback type for synchronous failure operations in Result.fold
E
is the error type, constrained to AppException
T
is the return type of the callback
Implementation
typedef SyncFailureCallback<E extends AppException, T> = T Function(E error);