Exception: GitHubPages::HealthCheck::Errors::InvalidCNAMEError

Inherits:
GitHubPages::HealthCheck::Error show all
Defined in:
lib/github-pages-health-check/errors/invalid_cname_error.rb

Constant Summary collapse

DOCUMENTATION_PATH =

rubocop:disable Metrics/LineLength

"/articles/setting-up-a-custom-domain-with-github-pages/".freeze

Constants inherited from GitHubPages::HealthCheck::Error

GitHubPages::HealthCheck::Error::DOCUMENTATION_BASE, GitHubPages::HealthCheck::Error::LOCAL_ONLY

Instance Attribute Summary

Attributes inherited from GitHubPages::HealthCheck::Error

#domain, #repository

Instance Method Summary collapse

Methods inherited from GitHubPages::HealthCheck::Error

inherited, #initialize, #message_with_url, subclasses, #to_s

Constructor Details

This class inherits a constructor from GitHubPages::HealthCheck::Error

Instance Method Details

#messageObject



8
9
10
11
12
13
14
# File 'lib/github-pages-health-check/errors/invalid_cname_error.rb', line 8

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