Files
discord-decomp/_bundle/Module813.js
T
2026-11-01 12:12:55 +02:00

13 lines
381 B
JavaScript

// Metro module 813 (f814).
export function createSyntheticError(r3 = 0) {
const error = new Error();
error.framesToPop = r3 + 3;
return error;
}
export function getFramesToPop(a0) {
return a0.framesToPop !== void 0 ? a0.framesToPop : 0;
}
export function isErrorLike(a0) {
return a0 !== null && typeof a0 === "object" && "stack" in a0 && typeof a0.stack === "string";
}