Exception: Zonesync::MissingManifestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zonesync/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(manifest) ⇒ MissingManifestError

Returns a new instance of MissingManifestError.



48
49
50
# File 'lib/zonesync/errors.rb', line 48

def initialize(manifest)
  @manifest = manifest
end

Instance Method Details

#messageObject



52
53
54
55
56
57
# File 'lib/zonesync/errors.rb', line 52

def message
  <<~MSG
    The zonesync_manifest TXT record is missing. If this is the very first sync, make sure the Zonefile matches what's on the DNS server exactly. Otherwise, someone else may have removed it.
      manifest: #{@manifest}
  MSG
end