Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7b02122

Browse files
baileympearsongithub-actions[bot]
authored andcommittedMay 9, 2025·
[create-pull-request] automated change
1 parent 6fe6ccc commit 7b02122

39 files changed

+479
-384
lines changed
 

‎docs/Next/assets/navigation.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/Next/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/Next/classes/GridFSBucketReadStream.html

Lines changed: 98 additions & 98 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/GridFSBucketWriteStream.html

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/HostAddress.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoAPIError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MongoAPIError | mongodb</title><meta name="description" content="Documentation for mongodb"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">mongodb</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">mongodb</a></li><li><a href="MongoAPIError.html">MongoAPIError</a></li></ul><h1>Class MongoAPIError</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>An error generated when the driver API is used incorrectly</p>
2-
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#MongoAPIError">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="MongoDriverError.html" class="tsd-signature-type tsd-kind-class">MongoDriverError</a><ul class="tsd-hierarchy"><li><span class="target">MongoAPIError</span><ul class="tsd-hierarchy"><li><a href="MongoBatchReExecutionError.html" class="tsd-signature-type tsd-kind-class">MongoBatchReExecutionError</a></li><li><a href="MongoCompatibilityError.html" class="tsd-signature-type tsd-kind-class">MongoCompatibilityError</a></li><li><a href="MongoCursorExhaustedError.html" class="tsd-signature-type tsd-kind-class">MongoCursorExhaustedError</a></li><li><a href="MongoCursorInUseError.html" class="tsd-signature-type tsd-kind-class">MongoCursorInUseError</a></li><li><a href="MongoExpiredSessionError.html" class="tsd-signature-type tsd-kind-class">MongoExpiredSessionError</a></li><li><a href="MongoInvalidArgumentError.html" class="tsd-signature-type tsd-kind-class">MongoInvalidArgumentError</a></li><li><a href="MongoMissingCredentialsError.html" class="tsd-signature-type tsd-kind-class">MongoMissingCredentialsError</a></li><li><a href="MongoMissingDependencyError.html" class="tsd-signature-type tsd-kind-class">MongoMissingDependencyError</a></li><li><a href="MongoNotConnectedError.html" class="tsd-signature-type tsd-kind-class">MongoNotConnectedError</a></li><li><a href="MongoServerClosedError.html" class="tsd-signature-type tsd-kind-class">MongoServerClosedError</a></li><li><a href="MongoTailableCursorError.html" class="tsd-signature-type tsd-kind-class">MongoTailableCursorError</a></li><li><a href="MongoTopologyClosedError.html" class="tsd-signature-type tsd-kind-class">MongoTopologyClosedError</a></li><li><a href="MongoTransactionError.html" class="tsd-signature-type tsd-kind-class">MongoTransactionError</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/main/src/error.ts#L289">src/error.ts:289</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="MongoAPIError.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2+
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#MongoAPIError">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="MongoDriverError.html" class="tsd-signature-type tsd-kind-class">MongoDriverError</a><ul class="tsd-hierarchy"><li><span class="target">MongoAPIError</span><ul class="tsd-hierarchy"><li><a href="MongoBatchReExecutionError.html" class="tsd-signature-type tsd-kind-class">MongoBatchReExecutionError</a></li><li><a href="MongoClientClosedError.html" class="tsd-signature-type tsd-kind-class">MongoClientClosedError</a></li><li><a href="MongoCompatibilityError.html" class="tsd-signature-type tsd-kind-class">MongoCompatibilityError</a></li><li><a href="MongoCursorExhaustedError.html" class="tsd-signature-type tsd-kind-class">MongoCursorExhaustedError</a></li><li><a href="MongoCursorInUseError.html" class="tsd-signature-type tsd-kind-class">MongoCursorInUseError</a></li><li><a href="MongoExpiredSessionError.html" class="tsd-signature-type tsd-kind-class">MongoExpiredSessionError</a></li><li><a href="MongoInvalidArgumentError.html" class="tsd-signature-type tsd-kind-class">MongoInvalidArgumentError</a></li><li><a href="MongoMissingCredentialsError.html" class="tsd-signature-type tsd-kind-class">MongoMissingCredentialsError</a></li><li><a href="MongoMissingDependencyError.html" class="tsd-signature-type tsd-kind-class">MongoMissingDependencyError</a></li><li><a href="MongoNotConnectedError.html" class="tsd-signature-type tsd-kind-class">MongoNotConnectedError</a></li><li><a href="MongoServerClosedError.html" class="tsd-signature-type tsd-kind-class">MongoServerClosedError</a></li><li><a href="MongoTailableCursorError.html" class="tsd-signature-type tsd-kind-class">MongoTailableCursorError</a></li><li><a href="MongoTopologyClosedError.html" class="tsd-signature-type tsd-kind-class">MongoTopologyClosedError</a></li><li><a href="MongoTransactionError.html" class="tsd-signature-type tsd-kind-class">MongoTransactionError</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/main/src/error.ts#L289">src/error.ts:289</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="MongoAPIError.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
33
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="MongoAPIError.html#cause" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cause?</span></a>
44
<a href="MongoAPIError.html#code" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>code?</span></a>
55
<a href="MongoAPIError.html#connectionGeneration" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>connection<wbr/>Generation?</span></a>

‎docs/Next/classes/MongoClient.html

Lines changed: 90 additions & 26 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoClientClosedError.html

Lines changed: 30 additions & 0 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoCompatibilityError.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoInvalidArgumentError.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoMissingCredentialsError.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoMissingDependencyError.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoNetworkError.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoNetworkTimeoutError.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoParseError.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoServerSelectionError.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoSystemError.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/MongoWriteConcernError.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎docs/Next/classes/ServerCapabilities.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎docs/Next/hierarchy.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎docs/Next/interfaces/AggregateOptions.html

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/AggregationCursorOptions.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/ChangeStreamOptions.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/CloseOptions.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/ConnectionOptions.html

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/ConnectionPoolOptions.html

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/CountDocumentsOptions.html

Lines changed: 10 additions & 10 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/MongoClientOptions.html

Lines changed: 19 additions & 19 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/MongoNetworkErrorOptions.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/MongoOptions.html

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/MonitorOptions.html

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

‎docs/Next/interfaces/WriteConcernErrorResult.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎docs/Next/modules.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<a href="classes/MongoClientBulkWriteCursorError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-128"></use></svg><span>Mongo<wbr/>Client<wbr/>Bulk<wbr/>Write<wbr/>Cursor<wbr/>Error</span></a>
88
<a href="classes/MongoClientBulkWriteError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-128"></use></svg><span>Mongo<wbr/>Client<wbr/>Bulk<wbr/>Write<wbr/>Error</span></a>
99
<a href="classes/MongoClientBulkWriteExecutionError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-128"></use></svg><span>Mongo<wbr/>Client<wbr/>Bulk<wbr/>Write<wbr/>Execution<wbr/>Error</span></a>
10+
<a href="classes/MongoClientClosedError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-128"></use></svg><span>Mongo<wbr/>Client<wbr/>Closed<wbr/>Error</span></a>
1011
<a href="classes/MongoCompatibilityError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-128"></use></svg><span>Mongo<wbr/>Compatibility<wbr/>Error</span></a>
1112
<a href="classes/MongoCursorExhaustedError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-128"></use></svg><span>Mongo<wbr/>Cursor<wbr/>Exhausted<wbr/>Error</span></a>
1213
<a href="classes/MongoCursorInUseError.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-128"></use></svg><span>Mongo<wbr/>Cursor<wbr/>In<wbr/>Use<wbr/>Error</span></a>

‎docs/Next/types/ConnectionPoolEvents.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎docs/Next/variables/MONGO_CLIENT_EVENTS.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎docs/categories/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Categories on MongoDB Node.js Driver</title>
55
<link>/node-mongodb-native/categories/</link>
66
<description>Recent content in Categories on MongoDB Node.js Driver</description>
7-
<generator>Hugo</generator>
7+
<generator>Hugo -- gohugo.io</generator>
88
<language>en-us</language>
99
<atom:link href="/node-mongodb-native/categories/index.xml" rel="self" type="application/rss+xml" />
1010
</channel>

‎docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta name="generator" content="Hugo 0.146.7">
4+
<meta name="generator" content="Hugo 0.123.7">
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="description" content="">

‎docs/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>MongoDB Node.js Driver</title>
55
<link>/node-mongodb-native/</link>
66
<description>Recent content on MongoDB Node.js Driver</description>
7-
<generator>Hugo</generator>
7+
<generator>Hugo -- gohugo.io</generator>
88
<language>en-us</language>
99
<atom:link href="/node-mongodb-native/index.xml" rel="self" type="application/rss+xml" />
1010
</channel>

‎docs/tags/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Tags on MongoDB Node.js Driver</title>
55
<link>/node-mongodb-native/tags/</link>
66
<description>Recent content in Tags on MongoDB Node.js Driver</description>
7-
<generator>Hugo</generator>
7+
<generator>Hugo -- gohugo.io</generator>
88
<language>en-us</language>
99
<atom:link href="/node-mongodb-native/tags/index.xml" rel="self" type="application/rss+xml" />
1010
</channel>

0 commit comments

Comments
 (0)
Please sign in to comment.