decord/source/errors/APIError.tsx
2026-08-03 11:20:01 +00:00

32 lines
1 KiB
TypeScript

// Module ID: 4155
// Function ID: 4156
// Name: prototype
// Dependencies: [676, 530, 1236, 2]
// Module 4155 (prototype)
import { Links } from "ME";
import { V8APIError } 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 V8APIError {
}
const result = require("getSystemLocale").fileFinishedImporting("errors/APIError.tsx");
export default prototype;