lib/spf/error.rb in spf-0.0.21 vs lib/spf/error.rb in spf-0.0.22
- old
+ new
@@ -34,9 +34,10 @@
class InvalidTermError < SyntaxError; end # Invalid term
class JunkInTermError < SyntaxError; end # Junk encountered in term
class DuplicateGlobalMod < 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