decord/alpha/source/errors/UploadVoiceDebugLogsError.tsx
2026-10-10 08:08:14 +00:00

45 lines
1.5 KiB
TypeScript

// Module ID: 5643
// Function ID: 5644
// Name: UploadVoiceDebugLogsError
// Dependencies: [1126, 2]
// Module 5643 (UploadVoiceDebugLogsError)
import size from "module_2" /* 2 */;
const require = globalThis.__r;
const UploadErrorCodes = { GENERAL: 0, [0]: "GENERAL", NO_FILE: 1, [1]: "NO_FILE", PROGRESS: 2, [2]: "PROGRESS", UPLOAD: 3, [3]: "UPLOAD", READ: 4, [4]: "READ" };
class UploadVoiceDebugLogsError {
constructor(PROGRESS) {
const obj = Object.create(new.target.prototype);
obj.code = PROGRESS;
return obj;
}
}
Object.defineProperty(UploadVoiceDebugLogsError.prototype, "displayMessage", {
get: function displayMessage() {
const code = this.code;
if (obj.NO_FILE === code) {
const intl5 = require("intl").intl;
return intl5.string(require("intl").t.dDMp2Z);
} else if (obj.PROGRESS === code) {
const intl4 = require("intl").intl;
return intl4.string(require("intl").t.XBxyvo);
} else if (obj.UPLOAD === code) {
const intl3 = require("intl").intl;
return intl3.string(require("intl").t["6b6rwk"]);
} else if (obj.READ === code) {
const intl2 = require("intl").intl;
return intl2.string(require("intl").t.VUc3ti);
} else {
const GENERAL = tmp.GENERAL;
const intl = require("intl").intl;
return intl.string(require("intl").t.VzHcSm);
}
},
set: undefined
});
const result = size.fileFinishedImporting("errors/UploadVoiceDebugLogsError.tsx");
export default UploadVoiceDebugLogsError;
export { UploadErrorCodes };