Optional causeOptional codeThis is a number in MongoServerError and a string in MongoDriverError
Optional connectionOptional stackOptional topologyStatic Optional prepareOptional override for formatting stack traces
Static stackLegacy name for server error responses
Static captureGenerated using TypeDoc
An error generated when the user makes a mistake in the usage of transactions. (e.g. attempting to commit a transaction with a readPreference other than primary)