| Class | Mongo::Error::InvalidApplicationName |
| In: |
lib/mongo/error/invalid_application_name.rb
|
| Parent: | Error |
This exception is raised when the metadata document sent to the server
at the time of a connection handshake is invalid.
@since 2.4.0
Instantiate the new exception.
@example Create the exception.
InvalidApplicationName.new(app_name, 128)
@param [ String ] app_name The application name option. @param [ Integer ] max_size The max byte size of the application name.
@since 2.4.0