Exception: DNSimple::DomainError

Inherits:
Error
  • Object
show all
Defined in:
lib/dnsimple/error.rb

Direct Known Subclasses

RecordExists

Instance Method Summary collapse

Constructor Details

#initialize(domain, messages) ⇒ DomainError

Returns a new instance of DomainError.



6
7
8
9
10
# File 'lib/dnsimple/error.rb', line 6

def initialize(domain, messages)
  @domain = domain
  @messages = messages
  super "An error occurred: #{messages}"
end