lib/spf/error.rb in spf-0.0.50 vs lib/spf/error.rb in spf-0.0.51
- old
+ new
@@ -48,18 +48,18 @@
class InvalidScopeError < SyntaxError; end # Invalid scope
class JunkInRecordError < SyntaxError; end # Junk encountered in record
class InvalidModError < SyntaxError; end # Invalid modifier
class InvalidTermError < SyntaxError; end # Invalid term
class JunkInTermError < SyntaxError; end # Junk encountered in term
- class DuplicateGlobalMod < InvalidModError; end # Duplicate global modifier
+ class DuplicateGlobalModError < InvalidModError; end # Duplicate global modifier
class InvalidMechError < InvalidTermError; end # Invalid mechanism
class InvalidMechQualifierError < InvalidMechError; end # Invalid mechanism qualifier
class InvalidMechCIDRError < InvalidMechError; end # Invalid CIDR netblock in mech
class TermDomainSpecExpectedError < SyntaxError; end # Missing required <domain-spec> in term
class TermIPv4AddressExpectedError < SyntaxError; end # Missing required <ip4-network> in term
- class TermIPv4PrefixLengthExpected < SyntaxError; end # Missing required <ip4-cidr-length> in term
- class TermIPv6AddressExpected < SyntaxError; end # Missing required <ip6-network> in term
- class TermIPv6PrefixLengthExpected < SyntaxError; end # Missing required <ip6-cidr-length> in term
+ class TermIPv4PrefixLengthExpectedError < SyntaxError; end # Missing required <ip4-cidr-length> in term
+ class TermIPv6AddressExpectedError < SyntaxError; end # Missing required <ip6-network> in term
+ class TermIPv6PrefixLengthExpectedError < SyntaxError; end # Missing required <ip6-cidr-length> in term
class InvalidMacroStringError < SyntaxError; end # Invalid macro string
class InvalidMacroError < InvalidMacroStringError
end # Invalid macro
end