addded error codes and improved error handling

This commit is contained in:
2026-06-04 15:32:51 +02:00
parent faebe54db3
commit c42bdea047
19 changed files with 730 additions and 96 deletions
@@ -47,7 +47,7 @@ export const AddStorageModal = (props: AddStorageModalProps) => {
isAlert: true,
type: "danger",
header: t("error"),
text: error.code ? t(`errors.${error.code}`) : t("unknown-error"),
text: error.code ? t(error.code) : t("unknown-error"),
});
},
onSuccess: () => {