class Mongo::Error::MismatchedDomain

This exception is raised when the URI Parser's DNS query returns SRV record(s)

whose parent domain does not match the hostname used for the query.

@example Instantiate the exception.

Mongo::Error::MismatchedDomain.new(message)

@since 2.5.0