decord/source/errors/APIError.tsx

37 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 4380
// Function ID: 4381
2026-07-29 08:29:29 +00:00
// Name: prototype
2026-09-02 09:53:35 +00:00
// Dependencies: [673, 527, 1233, 2]
2026-07-20 16:05:17 +00:00
// Module 4380 (prototype)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import sendRequest from "sendRequest" /* 527 */;
import ME from "ME" /* 673 */;
import getSystemLocale from "getSystemLocale" /* 1233 */;
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;