Sha256: 46aedab724e4df296d5e17d2714a21966dac46fb565210093d8d53751e324bd6

Contents?: true

Size: 291 Bytes

Versions: 45

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

module DnsMock
  module Error
    RecordNotFound = ::Class.new(::StandardError) do
      def initialize(record_type, hostname)
        super("#{record_type.upcase} record not found for #{hostname} in predefined records dictionary")
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
dns_mock-1.5.7 lib/dns_mock/error/record_not_found.rb
dns_mock-1.5.6 lib/dns_mock/error/record_not_found.rb
dns_mock-1.5.5 lib/dns_mock/error/record_not_found.rb
dns_mock-1.5.4 lib/dns_mock/error/record_not_found.rb
dns_mock-1.5.3 lib/dns_mock/error/record_not_found.rb
dns_mock-1.5.2 lib/dns_mock/error/record_not_found.rb
dns_mock-1.5.1 lib/dns_mock/error/record_not_found.rb
dns_mock-1.5.0 lib/dns_mock/error/record_not_found.rb
dns_mock-1.4.4 lib/dns_mock/error/record_not_found.rb
dns_mock-1.4.3 lib/dns_mock/error/record_not_found.rb
dns_mock-1.4.2 lib/dns_mock/error/record_not_found.rb
dns_mock-1.4.1 lib/dns_mock/error/record_not_found.rb
dns_mock-1.4.0 lib/dns_mock/error/record_not_found.rb
dns_mock-1.3.1 lib/dns_mock/error/record_not_found.rb
dns_mock-1.3.0 lib/dns_mock/error/record_not_found.rb
dns_mock-1.2.4 lib/dns_mock/error/record_not_found.rb
dns_mock-1.2.3 lib/dns_mock/error/record_not_found.rb
dns_mock-1.2.2 lib/dns_mock/error/record_not_found.rb
dns_mock-1.2.1 lib/dns_mock/error/record_not_found.rb
dns_mock-1.2.0 lib/dns_mock/error/record_not_found.rb