39 lines
826 B
TypeScript
39 lines
826 B
TypeScript
// Metro module 4095 (f4096).
|
|
import { intl, t } from "../intl/index.native";
|
|
let c2358_2 = {
|
|
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(a0) {
|
|
this.code = a0;
|
|
}
|
|
get displayMessage() {
|
|
const code = this.code;
|
|
if (c2358_2.NO_FILE === code) {
|
|
return intl.string(t.dDMp2Z);
|
|
}
|
|
if (c2358_2.PROGRESS === code) {
|
|
return intl.string(t.XBxyvo);
|
|
}
|
|
if (c2358_2.UPLOAD === code) {
|
|
return intl.string(t["6b6rwk"]);
|
|
}
|
|
if (c2358_2.READ === code) {
|
|
return intl.string(t.VUc3ti);
|
|
}
|
|
c2358_2.GENERAL;
|
|
return intl.string(t.VzHcSm);
|
|
}
|
|
}
|
|
export default UploadVoiceDebugLogsError;
|
|
export { c2358_2 as UploadErrorCodes };
|