Skip to content

Commit 5043894

Browse files
committed
fix: error codes
1 parent b756eab commit 5043894

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/errors.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export enum ErrorCodes {
22
NotConnectedToMongoDB = 1_000_000,
3-
InvalidParams = 1_000_001,
4-
MisconfiguredConnectionString = 1_000_001
3+
MisconfiguredConnectionString = 1_000_001,
54
}
65

76
export class MongoDBError extends Error {

0 commit comments

Comments
 (0)