replayFailed method
After a replay threw: the chat has already reopened its session; the hook may undo engine-side staging. The error is rethrown after it.
Implementation
Future<void> replayFailed(
InferenceModelSession session,
Object error,
) async {}