MCPcopy Create free account
hub / github.com/Automattic/mongoose / inspect

Method inspect

lib/error/setOptionError.js:37–39  ·  view source on GitHub ↗

* inspect helper * @api private

()

Source from the content-addressed store, hash-verified

35 * @api private
36 */
37 inspect() {
38 return Object.assign(new Error(this.message), this);
39 }
40
41 /**
42 * add message

Callers 2

getStringValueFunction · 0.45
constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected