Exception: GitHubPages::HealthCheck::Errors::InvalidAAAARecordError

Inherits:
GitHubPages::HealthCheck::Error show all
Defined in:
lib/github-pages-health-check/errors/invalid_aaaa_record_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

#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



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

def message
  <<-MSG
  Your site's DNS settings are using a custom subdomain, #{domain.host},
  that's set up as an AAAA record. We recommend you change this to a CNAME
  record pointing at #{username}.github.io.
  MSG
end