-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Encryption
There are several classes under Mongo::Error whose file names do not match the class names:
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/error/failed_stringprep_validation.rb - FailedStringPrepValidation
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/error/kms.rb - KmsError
https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/error/crypt.rb - CryptError
File names should be the class names converted to underscore style, i.e. failed_string_prep_validation.rb, kms_error.rb and crypt_error.rb.
This ticket covers auditing all other files under error directory to ensure all file names match the class names that they define.