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

Method constructor

test/utils.test.js:378–380  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

376 // Arrange
377 class OperationalError extends Error {
378 constructor(message) {
379 super(message);
380 }
381 }
382
383 const err = new OperationalError('Something bad happened.');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected