Skip to content

Commit 7fbc0a8

Browse files
committed
refactor: upload error
1 parent 689445e commit 7fbc0a8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

apps/web/src/utils/upload2.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ class UploadError extends Error {
5353
[L in Language]?: string;
5454
};
5555

56-
title = {
57-
en: `Error Occurred Downloading Sample Template`,
58-
fr: `Une erreur s'est produite lors du téléchargement du CSV`
59-
};
60-
6156
constructor(description: { [L in Language]?: string }) {
6257
super();
6358
this.description = description;
@@ -1068,3 +1063,5 @@ export function reformatInstrumentData({
10681063
};
10691064
return reformatForSending;
10701065
}
1066+
1067+
export { UploadError };

0 commit comments

Comments
 (0)