Sha256: 6318a5c3e225de6b2246462500c584184f7c3fb5c2feb1d55d7896efb8f8d3cc

Contents?: true

Size: 564 Bytes

Versions: 12

Compression:

Stored size: 564 Bytes

Contents

# frozen_string_literal: true

module GitHubPages
  module HealthCheck
    module Errors
      class InvalidCNAMEError < GitHubPages::HealthCheck::Error
        DOCUMENTATION_PATH = "/articles/setting-up-a-custom-domain-with-github-pages/"

        def message
          <<-MSG
             Your site's DNS settings are using a custom subdomain, #{domain.host},
             that's not set up with a correct CNAME record.  We recommend you set this
             CNAME record to point at #{username}.github.io.
          MSG
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
github-pages-health-check-1.18.5 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.18.4 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.18.2 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.18.1 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.18.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.17.9 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.17.8 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.17.7 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.17.6 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.17.2 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.17.1 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.17.0 lib/github-pages-health-check/errors/invalid_cname_error.rb