Skip to content

Commit bb2633c

Browse files
committed
DOCS-11408: deprecate getPrevError command
1 parent ac2a5da commit bb2633c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

source/reference/command/getPrevError.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ getPrevError
1212

1313
.. dbcommand:: getPrevError
1414

15+
.. deprecated:: 3.6
16+
1517
The :dbcommand:`getPrevError` command returns the errors since the
1618
last :dbcommand:`resetError` command.
1719

source/release-notes/3.6.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,8 @@ Commands
705705
documents include the ``operationTime`` and ``$clusterTime``. See
706706
:method:`db.runCommand` and :method:`db.adminCommand`.
707707

708+
- Deprecated :dbcommand:`getPrevError` command.
709+
708710
Wire Protocol and Compression
709711
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
710712

0 commit comments

Comments
 (0)