123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Error::NoSRVRecords

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/no_srv_records.rb

Overview

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

Examples:

Instantiate the exception.

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

Since:

  • 2.5.0