lib/sym/errors.rb in sym-2.2.1 vs lib/sym/errors.rb in sym-2.3.0

- old
+ new

@@ -6,10 +6,11 @@ # No secret has been provided for encryption or decryption class InsufficientOptionsError < Sym::Errors::Error; end class PasswordError < Sym::Errors::Error; end + class NoPasswordProvided < Sym::Errors::PasswordError; end class PasswordsDontMatch < Sym::Errors::PasswordError; end class PasswordTooShort < Sym::Errors::PasswordError; end class EditorExitedAbnormally < Sym::Errors::Error; end @@ -17,11 +18,13 @@ class DataEncodingVersionMismatch< Sym::Errors::Error; end class KeyError < Sym::Errors::Error; end class InvalidEncodingPrivateKey < Sym::Errors::KeyError; end - class InvalidPasswordPrivateKey < Sym::Errors::KeyError; end + class InvalidPasswordProvidedForThePrivateKey < Sym::Errors::KeyError; end class NoPrivateKeyFound < Sym::Errors::KeyError; end + + class NoDataProvided < Sym::Errors::Error; end class KeyChainCommandError < Sym::Errors::Error; end # Method was called on an abstract class. Override such methods in # subclasses, and use subclasses for instantiation of objects.