refactor: FaiError -> ChainError (SDK stub rename lockstep)
Some checks failed
Security / Security check (push) Failing after 1s

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-11 23:14:33 +02:00
parent bb606a8b23
commit 7a38cd58aa
13 changed files with 30 additions and 30 deletions

View file

@ -173,7 +173,7 @@ class _BytesView extends StatelessWidget {
).showSnackBar(SnackBar(content: Text(l.flowsOutputSavedAt(path))));
} catch (e) {
if (!context.mounted) return;
showFaiErrorSnack(context, 'flows.output.save', e);
showChainErrorSnack(context, 'flows.output.save', e);
}
}
@ -234,7 +234,7 @@ class _FileView extends StatelessWidget {
final target = uri.startsWith('file://') ? uri.substring(7) : uri;
final r = await SystemActions.openInOs(target);
if (!context.mounted || r.ok) return;
showFaiErrorSnack(
showChainErrorSnack(
context,
'flows.output.open',
r.stderr.isEmpty ? 'open failed' : r.stderr,