decord/beta/source/errors/APIError.tsx
github-actions 9b6fea255e chore: update source for beta 346.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-18 19:45:33 +00:00

32 lines
979 B
TypeScript

// Module ID: 4538
// Function ID: 4539
// Name: APIError
// Dependencies: [1074, 1270, 1114, 2]
// Module 4538 (APIError)
import Constants from "Constants" /* 1074 */;
import util from "util" /* 1114 */;
import HTTPUtils from "HTTPUtils" /* 1270 */;
import size from "module_2" /* 2 */;
const Links = Constants.Links;
const V8APIError = HTTPUtils.V8APIError;
const prototype = function APIErrorWithDefaultMessage(arg0, arg1) {
if (null != arg1) {
const intl2 = util.intl;
const obj2 = { statusPageURL: Links.STATUS, details: null };
const _HermesInternal = HermesInternal;
obj2.details = "" + arg1;
intl2.formatToPlainString(util.t.aKRa0Q, obj2);
} else {
const intl = util.intl;
const obj = { statusPageURL: Links.STATUS };
intl.formatToPlainString(util.t.aTVNes, obj);
}
return new tmp();
}.prototype;
class prototype extends V8APIError {
}
const result = size.fileFinishedImporting("errors/APIError.tsx");
export default prototype;