Sha256: 84ca1a5fcf0a995836a32371eab70ac498a38f2627aac0a718044768238ce72a

Contents?: true

Size: 571 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
github-pages-health-check-1.3.5 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.3.4 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.3.3 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.3.2 lib/github-pages-health-check/errors/invalid_cname_error.rb
github-pages-health-check-1.3.1 lib/github-pages-health-check/errors/invalid_cname_error.rb