123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Error::MismatchedDomain

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error
Instance Chain:
self, Error
Inherits: Error
  • Object
Defined in: lib/mongo/error/mismatched_domain.rb

Overview

This exception is raised when the ::Mongo::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