MCPcopy
hub / github.com/vercel/next.js / BA

Function BA

packages/next/src/compiled/@vercel/og/index.node.js:14231–14239  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

14229 }
14230 var q = [{}, { value: void 0 }, { value: null }, { value: true }, { value: false }], oA = [];
14231 function BA(s) {
14232 var g2 = Error, c2 = fA(s, function(B) {
14233 this.name = s, this.message = B, B = Error(B).stack, B !== void 0 && (this.stack = this.toString() + `
14234` + B.replace(/^Error(:[^\n]*)?\n/, ""));
14235 });
14236 return c2.prototype = Object.create(g2.prototype), c2.prototype.constructor = c2, c2.prototype.toString = function() {
14237 return this.message === void 0 ? this.name : this.name + ": " + this.message;
14238 }, c2;
14239 }
14240 var W = void 0;
14241 function Y(s) {
14242 throw new W(s);

Callers 2

index.node.jsFile · 0.85
rrFunction · 0.85

Calls 5

fAFunction · 0.85
replaceMethod · 0.65
ErrorClass · 0.50
toStringMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected