2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 4065
|
|
|
|
|
// Function ID: 4066
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: prototype
|
|
|
|
|
// Dependencies: [676, 530, 1236, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 4065 (prototype)
|
|
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import sendRequest from "sendRequest" /* 530 */;
|
|
|
|
|
import ME from "ME" /* 676 */;
|
|
|
|
|
import getSystemLocale from "getSystemLocale" /* 1236 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const Links = ME.Links;
|
|
|
|
|
const V6OrEarlierAPIError = sendRequest.V6OrEarlierAPIError;
|
2026-07-29 08:29:29 +00:00
|
|
|
const prototype = function APIErrorWithDefaultMessage(arg0, arg1) {
|
|
|
|
|
if (null != arg1) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl2 = getSystemLocale.intl;
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = { statusPageURL: null, details: null };
|
|
|
|
|
obj[0] = Links.STATUS;
|
|
|
|
|
const _HermesInternal = HermesInternal;
|
|
|
|
|
obj[1] = "" + arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
intl2.formatToPlainString(getSystemLocale.t.aKRa0Q, obj);
|
2026-07-29 08:29:29 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl = getSystemLocale.intl;
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { statusPageURL: null };
|
|
|
|
|
obj[0] = Links.STATUS;
|
2026-08-24 06:08:38 +00:00
|
|
|
intl.formatToPlainString(getSystemLocale.t.aTVNes, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp = new tmp();
|
|
|
|
|
// ThrowIfThisInitialized (0x7c)
|
|
|
|
|
return tmp;
|
|
|
|
|
}.prototype;
|
|
|
|
|
class prototype extends V6OrEarlierAPIError {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = set.fileFinishedImporting("errors/V6OrEarlierAPIError.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default prototype;
|