decord/alpha/source/errors/V6OrEarlierAPIError.tsx

33 lines
1 KiB
TypeScript
Raw Normal View History

// Module ID: 4540
// Function ID: 4541
// Name: errors/V6OrEarlierAPIError
// Dependencies: [1074, 1271, 1115, 2]
2026-07-20 16:05:17 +00:00
// Module 4540 (errors/V6OrEarlierAPIError)
import Constants from "Constants" /* 1074 */;
import util from "util" /* 1115 */;
import HTTPUtils from "HTTPUtils" /* 1271 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const Links = Constants.Links;
const V6OrEarlierAPIError = HTTPUtils.V6OrEarlierAPIError;
2026-07-29 08:29:29 +00:00
const prototype = function APIErrorWithDefaultMessage(arg0, arg1) {
if (null != arg1) {
const intl2 = util.intl;
const obj2 = { statusPageURL: Links.STATUS, details: null };
2026-07-29 08:29:29 +00:00
const _HermesInternal = HermesInternal;
obj2.details = "" + arg1;
intl2.formatToPlainString(util.t.aKRa0Q, obj2);
2026-07-29 08:29:29 +00:00
} else {
const intl = util.intl;
const obj = { statusPageURL: Links.STATUS };
intl.formatToPlainString(util.t.aTVNes, obj);
2026-07-20 16:05:17 +00:00
}
return new tmp();
2026-07-29 08:29:29 +00:00
}.prototype;
class prototype extends V6OrEarlierAPIError {
2026-07-20 16:05:17 +00:00
}
const result = size.fileFinishedImporting("errors/V6OrEarlierAPIError.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default prototype;