decord/alpha/source/errors/UploadVoiceDebugLogsError.tsx

46 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-10-10 08:08:14 +00:00
// Module ID: 5643
// Function ID: 5644
// Name: UploadVoiceDebugLogsError
2026-10-03 08:58:59 +00:00
// Dependencies: [1126, 2]
2026-07-20 16:05:17 +00:00
2026-10-10 08:08:14 +00:00
// Module 5643 (UploadVoiceDebugLogsError)
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
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" };
2026-07-29 08:29:29 +00:00
class UploadVoiceDebugLogsError {
2026-10-03 08:58:59 +00:00
constructor(PROGRESS) {
const obj = Object.create(new.target.prototype);
obj.code = PROGRESS;
2026-07-29 08:29:29 +00:00
return obj;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
}
Object.defineProperty(UploadVoiceDebugLogsError.prototype, "displayMessage", {
get: function displayMessage() {
const code = this.code;
if (obj.NO_FILE === code) {
2026-10-03 08:58:59 +00:00
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);
2026-07-29 08:29:29 +00:00
} else {
const GENERAL = tmp.GENERAL;
2026-10-03 08:58:59 +00:00
const intl = require("intl").intl;
return intl.string(require("intl").t.VzHcSm);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
},
set: undefined
});
const result = size.fileFinishedImporting("errors/UploadVoiceDebugLogsError.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default UploadVoiceDebugLogsError;
export { UploadErrorCodes };