Sha256: 4c6b7634a98ffe2511132d553cd5f0bfd1fafbdb056b389d89d63e634770e394
Contents?: true
Size: 1.25 KB
Versions: 6
Compression:
Stored size: 1.25 KB
Contents
module Shhh # All public exceptions of this library are here. module Errors # Exceptions superclass for this library. class Shhh::Errors::Error < StandardError; end # No secret has been provided for encryption or decryption class InsufficientOptionsError < Shhh::Errors::Error; end class PasswordError < Shhh::Errors::Error; end class PasswordsDontMatch < Shhh::Errors::PasswordError; end class PasswordTooShort < Shhh::Errors::PasswordError; end class EditorExitedAbnormally < Shhh::Errors::Error; end class FileNotFound < Shhh::Errors::Error; end class DataEncodingVersionMismatch< Shhh::Errors::Error; end class KeyError < Shhh::Errors::Error; end class InvalidEncodingPrivateKey < Shhh::Errors::KeyError; end class InvalidPasswordPrivateKey < Shhh::Errors::KeyError; end class NoPrivateKeyFound < Shhh::Errors::KeyError; end class KeyChainCommandError < Shhh::Errors::Error; end # Method was called on an abstract class. Override such methods in # subclasses, and use subclasses for instantiation of objects. class AbstractMethodCalled < ArgumentError def initialize(method, message = nil) super("Abstract method call, on #{method}" + (message || '')) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
shhh-1.7.0 | lib/shhh/errors.rb |
shhh-1.6.5 | lib/shhh/errors.rb |
shhh-1.6.4 | lib/shhh/errors.rb |
shhh-1.6.3 | lib/shhh/errors.rb |
shhh-1.6.2 | lib/shhh/errors.rb |
shhh-1.6.1 | lib/shhh/errors.rb |