notifyIntentFailed static method
- JIntent<
JState> intent, - Object error,
- StackTrace stackTrace
Called by the intent when its execution fails.
Implementation
static void notifyIntentFailed(
JIntent intent,
Object error,
StackTrace stackTrace,
) {
final callback = onIntentFailed;
if (callback == null && _delegates.isEmpty) return;
_notify(
'intent failed',
(d) => d.onIntentFailed(intent, error, stackTrace),
callback == null ? null : () => callback(intent, error, stackTrace),
);
}