lib/dnsimple/error.rb in dnsimple-ruby-1.2.3 vs lib/dnsimple/error.rb in dnsimple-ruby-1.2.4

- old
+ new

@@ -14,10 +14,16 @@ def initialize(domain, message) super(domain, message) end end - class AuthenticationFailed < DNSimple::Error; end + class RecordNotFound < DNSimple::Error; end + + class AuthenticationFailed < DNSimple::Error + def initialize(message="Authentication failed") + super(message) + end + end class UserNotFound < DNSimple::Error; end class CertificateExists < DNSimple::Error; end