To create custom error handling I would like to switch at the errorcode property of a MongoDbException.
Is there any official list of error codes?
I know 112 is a WriteConflict, 16608 means division by 0 and 16610 is a modulo by zero.
error_codes.yml is incomplete and lacks of 16608 and 16610.