Class: Mongo::Error::NoSRVRecords

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

Overview

This exception is raised when the URI Parser's DNS query returns no SRV records.

Examples:

Instantiate the exception.

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

Since:

  • 2.5.0