refactor: FaiError -> ChainError (SDK stub rename lockstep)
Some checks failed
Security / Security check (push) Failing after 1s
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:
parent
bb606a8b23
commit
7a38cd58aa
13 changed files with 30 additions and 30 deletions
|
|
@ -95,14 +95,14 @@ class _AuditPageState extends State<AuditPage> {
|
|||
_refresh();
|
||||
} catch (e) {
|
||||
if (!mounted) return;
|
||||
showFaiErrorSnack(context, 'audit.clear', e);
|
||||
showChainErrorSnack(context, 'audit.clear', e);
|
||||
}
|
||||
}
|
||||
|
||||
// _friendly was an inline shadow of friendlyError() in
|
||||
// data/friendly_error.dart — kept only because the original
|
||||
// call site predated the central mapper. Removed in favour
|
||||
// of showFaiErrorSnack, which uses friendlyError under the
|
||||
// of showChainErrorSnack, which uses friendlyError under the
|
||||
// hood (with proper gRPC-code mapping + selectable
|
||||
// copy-affordance).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue