Skip to content

Commit 22e17f3

Browse files
authored
made MONGODB_ERROR_CODES public
1 parent e628296 commit 22e17f3

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
@@ -34,7 +34,7 @@ export const LEGACY_NOT_PRIMARY_OR_SECONDARY_ERROR_MESSAGE = new RegExp(
3434
*/
3535
export const NODE_IS_RECOVERING_ERROR_MESSAGE = new RegExp('node is recovering', 'i');
3636

37-
/** @internal MongoDB Error Codes */
37+
/** @public */
3838
export const MONGODB_ERROR_CODES = Object.freeze({
3939
HostUnreachable: 6,
4040
HostNotFound: 7,

0 commit comments

Comments
 (0)