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

Method inspect

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

* inspect helper * @api private

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected