15768: removed submit func from ms popover Arvados-DCO-1.1-Signed-off-by: Lisa Knox...
[arvados.git] / src / services / api / api-actions.ts
index d47eeaa878612a4f3d6fa20b269b365ee6286343..00b18229a0e5a164e44b57ec87e47df93ff0d8d9 100644 (file)
@@ -3,7 +3,7 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 export type ProgressFn = (id: string, working: boolean) => void;
-export type ErrorFn = (id: string, message: string) => void;
+export type ErrorFn = (id: string, error: any, showSnackBar?: boolean) => void;
 
 export interface ApiActions {
     progressFn: ProgressFn;