Skip to content
Prev Previous commit
Next Next commit
fake rebase:
  • Loading branch information
aditi-khare-mongoDB committed Mar 8, 2024
commit 2cf786a2d59292828ebc4e30314e4cfa1b302e39
3 changes: 2 additions & 1 deletion src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export class MongoError extends Error {
* @category Error
*/
export class MongoServerError extends MongoError {
errorResponse?: ErrorDescription;
/** Raw error result document returned by server. */
errorResponse: ErrorDescription;
codeName?: string;
writeConcernError?: Document;
errInfo?: Document;
Expand Down