fdb-document-layer icon indicating copy to clipboard operation
fdb-document-layer copied to clipboard

Cleanup code with correct usage of $err and errmsg

Open apkar opened this issue 6 years ago • 1 comments

Mongo has $err and errmsg in response from the server. Usually, $err is for the error code and errmsg is for error description. Our error handling is not consistent. At least it is less consistent than Mongo.

apkar avatar Mar 19 '19 17:03 apkar

@apkar please assign this to me. Will cleanup and make them uniform using seterror function

senthil-db-expert avatar Aug 20 '19 06:08 senthil-db-expert