lib/rnp/error.rb in rnp-1.0.2 vs lib/rnp/error.rb in rnp-1.0.3

- old
+ new

@@ -16,9 +16,15 @@ end super(msg) end end + class FeatureNotAvailableError < Error + def initialize(feature) + super("#{feature} is not available in your version of rnp.") + end + end + class BadPasswordError < Error; end class InvalidSignatureError < Error; end class BadFormatError < Error; end class NoSuitableKeyError < Error; end