decord/source/errors/APIError.tsx

37 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 4377
// Function ID: 4378
2026-07-29 08:29:29 +00:00
// Name: prototype
// Dependencies: [676, 530, 1236, 2]
2026-07-20 16:05:17 +00:00
2026-09-01 10:26:29 +00:00
// Module 4377 (prototype)
2026-08-24 06:08:38 +00:00
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 V8APIError = sendRequest.V8APIError;
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 V8APIError {
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("errors/APIError.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default prototype;