Sha256: e8e724d19b87dca151e50acc27a520384e1ae7e40bfae64bc79f4589cf0aefa4

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

module GitHubPages
  module HealthCheck
    module Errors
      class InvalidCNAMEError < GitHubPages::HealthCheck::Error
        # rubocop:disable Metrics/LineLength
        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

3 entries across 3 versions & 1 rubygems

Version Path
github-pages-health-check-1.3.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.2.0 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.1.2 lib/github-pages-health-check/errors/invalid_cname_error.rb