decord/source/errors/V6OrEarlierAPIError.tsx
2026-07-29 08:29:29 +00:00

32 lines
1 KiB
TypeScript

// Module ID: 3858
// Function ID: 3859
// Name: prototype
// Dependencies: [676, 530, 1236, 2]
// Module 3858 (prototype)
import { Links } from "ME";
import { V6OrEarlierAPIError } from "sendRequest";
const prototype = function APIErrorWithDefaultMessage(arg0, arg1) {
if (null != arg1) {
const intl2 = require(1236) /* getSystemLocale */.intl;
let obj = { statusPageURL: null, details: null };
obj[0] = Links.STATUS;
const _HermesInternal = HermesInternal;
obj[1] = "" + arg1;
intl2.formatToPlainString(require(1236) /* getSystemLocale */.t.aKRa0Q, obj);
} else {
const intl = require(1236) /* getSystemLocale */.intl;
obj = { statusPageURL: null };
obj[0] = Links.STATUS;
intl.formatToPlainString(require(1236) /* getSystemLocale */.t.aTVNes, obj);
}
tmp = new tmp();
// ThrowIfThisInitialized (0x7c)
return tmp;
}.prototype;
class prototype extends V6OrEarlierAPIError {
}
const result = require("getSystemLocale").fileFinishedImporting("errors/V6OrEarlierAPIError.tsx");
export default prototype;