Skip to content

Commit 6674aa8

Browse files
committed
chore: update error message
1 parent f376ce7 commit 6674aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ export class MongoClientClosedError extends MongoAPIError {
10371037
*
10381038
* @public
10391039
**/
1040-
constructor(message = 'MongoClient is closed') {
1040+
constructor(message = 'Operation interrupted because client was closed') {
10411041
super(message);
10421042
}
10431043

0 commit comments

Comments
 (0)