Exception: GitHubPages::HealthCheck::Errors::InvalidCNAMEError
- Inherits:
-
GitHubPages::HealthCheck::Error
- Object
- StandardError
- GitHubPages::HealthCheck::Error
- GitHubPages::HealthCheck::Errors::InvalidCNAMEError
- Defined in:
- lib/github-pages-health-check/errors/invalid_cname_error.rb
Constant Summary collapse
- DOCUMENTATION_PATH =
"/articles/setting-up-a-custom-domain-with-github-pages/"
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
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
#message ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/github-pages-health-check/errors/invalid_cname_error.rb', line 9 def <<-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 |