lib/spf/error.rb in spf-0.0.32 vs lib/spf/error.rb in spf-0.0.33
- old
+ new
@@ -12,9 +12,10 @@
# Miscellaneous Errors
##############################################################################
class DNSError < Error; end # DNS error
class DNSTimeoutError < DNSError; end # DNS timeout
+ class DNSNXDomainError < DNSError; end # DNS NXDomain
class RecordSelectionError < Error # Record selection error
attr_accessor :records
def initialize(message, records=[])
@records = records
super(message)