Sha256: 63d8cdcfdac16d4ce6339369f902c5c79d2e7c41e805968fa07386bd2c5a6736
Contents?: true
Size: 1.07 KB
Versions: 3
Compression:
Stored size: 1.07 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 NoPrivateKeyFound < Shhh::Errors::Error; end class PasswordsDontMatch < Shhh::Errors::Error; end class PasswordTooShort < Shhh::Errors::Error; end class DataEncodingVersionMismatch< Shhh::Errors::Error; end class EditorExitedAbnormally < Shhh::Errors::Error; end class InvalidEncodingPrivateKey < Shhh::Errors::Error; end class InvalidPasswordPrivateKey < Shhh::Errors::Error; end class FileNotFound < Shhh::Errors::Error; end class ExternalCommandError < 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shhh-1.5.4 | lib/shhh/errors.rb |
shhh-1.4.1 | lib/shhh/errors.rb |
shhh-1.4.0 | lib/shhh/errors.rb |