Exception: DNSimple::DomainError
- Defined in:
- lib/dnsimple/error.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(domain, messages) ⇒ DomainError
constructor
A new instance of DomainError.
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, ) @domain = domain @messages = super "An error occurred: #{}" end |