2026-09-21 19:31:18 +00:00
|
|
|
// Module ID: 4660
|
|
|
|
|
// Function ID: 4661
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: APIError
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [1078, 1275, 1119, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
// Module 4660 (APIError)
|
|
|
|
|
import Constants from "Constants" /* 1078 */;
|
|
|
|
|
import util from "util" /* 1119 */;
|
|
|
|
|
import HTTPUtils from "HTTPUtils" /* 1275 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
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;
|