decord/source/errors/APIError.tsx

33 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-07 06:50:47 +00:00
// Module ID: 4202
// Function ID: 4203
2026-07-29 08:29:29 +00:00
// Name: prototype
// Dependencies: [676, 530, 1236, 2]
2026-07-20 16:05:17 +00:00
2026-08-07 06:50:47 +00:00
// Module 4202 (prototype)
2026-07-23 10:11:24 +00:00
import { Links } from "ME";
2026-07-29 08:29:29 +00:00
import { V8APIError } from "sendRequest";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
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);
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-07-29 08:29:29 +00:00
const result = require("getSystemLocale").fileFinishedImporting("errors/APIError.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default prototype;