Sha256: 1859251277cf829ff5cd2acf9ecd8977e0dc6336c48f6cb9cb7954b1cc08f014

Contents?: true

Size: 571 Bytes

Versions: 7

Compression:

Stored size: 571 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/".freeze

        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

7 entries across 7 versions & 1 rubygems

Version Path
github-pages-health-check-1.16.1 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.16.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.15.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.14.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.13.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.12.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.11.1 lib/github-pages-health-check/errors/invalid_cname_error.rb