class Mongo::Error::UnsupportedCollation

Raised if a collation is specified for an operation but the server selected does not support collations.

@since 2.4.0

@deprecated RUBY-2260 In driver version 3.0, this error class will be

replaced with UnsupportedOption. To handle this error, catch
Mongo::Error::UnsupportedOption, which will prevent any breaking changes
in your application when upgrading to version 3.0 of the driver.