MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isUntypedError

Function isUntypedError

static/word2md/mammoth.browser.js:6612–6615  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

6610var es5 = require("./es5");
6611
6612function isUntypedError(obj) {
6613 return obj instanceof Error &&
6614 es5.getPrototypeOf(obj) === Error.prototype;
6615}
6616
6617var rErrorKey = /^(?:name|message|stack|cause)$/;
6618function wrapAsOperationalError(obj) {

Callers 1

wrapAsOperationalErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected