Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2118

Exception class names do not match file names

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.12.0.rc0
    • 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.

            Assignee:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: