MCPcopy Index your code
hub / github.com/parse-community/parse-server / isNativeError

Method isNativeError

src/Utils.js:164–166  ·  view source on GitHub ↗

* Realm-safe check for native Error. * @param {any} value The value to check. * @returns {Boolean} Returns true if the value is a native Error.

(value)

Source from the content-addressed store, hash-verified

162 * @returns {Boolean} Returns true if the value is a native Error.
163 */
164 static isNativeError(value) {
165 return types.isNativeError(value);
166 }
167
168 /**
169 * Realm-safe check for Promise (duck-typed as thenable).

Callers 3

resolveErrorFunction · 0.80
setFinalStatusFunction · 0.80
Utils.spec.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected