decord/source/errors/APIError.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

36 lines
1.1 KiB
TypeScript

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