- handleError(t, addSnackbar, errorTranslationMessage, error, hideDuration): void
-
Parameters
-
t: TFunction<"translation", undefined>
-
addSnackbar: ((newSnackbar) => void)
-
- (newSnackbar): void
-
Returns void
-
errorTranslationMessage: string
-
error: any
-
hideDuration: number
Returns void