Class: Mongo::Error::MismatchedDomain

Inherits:
Error
  • Object
show all
Defined in:
lib/mongo/error/mismatched_domain.rb

Overview

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.

Examples:

Instantiate the exception.

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

Since:

  • 2.5.0