MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / onError

Method onError

web/marked.min.js:2160–2176  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

2158 };
2159 }
2160 onError(e, t) {
2161 return (n) => {
2162 if (
2163 ((n.message += `
2164Please report this to https://github.com/markedjs/marked.`),
2165 e)
2166 ) {
2167 let s =
2168 "<p>An error occurred:</p><pre>" +
2169 R(n.message + "", !0) +
2170 "</pre>";
2171 return t ? Promise.resolve(s) : s;
2172 }
2173 if (t) return Promise.reject(n);
2174 throw n;
2175 };
2176 }
2177 };
2178 var M = new E();
2179 function k(l, e) {

Callers 1

parseMarkdownMethod · 0.80

Calls 1

RFunction · 0.85

Tested by

no test coverage detected