Sha256: 5cf709aa7788a7b515e514366aa6ae815e73d205932ca56a9cdcb8e76aba871a
Contents?: true
Size: 645 Bytes
Versions: 17
Compression:
Stored size: 645 Bytes
Contents
module ComplexConfig class ComplexConfigError < StandardError def self.wrap(klass, e) Class === klass or klass = ComplexConfig.const_get(klass) error = klass.new(e.message) error.set_backtrace(e.backtrace) error end end class AttributeMissing < ComplexConfigError end class ConfigurationFileMissing < ComplexConfigError end class ConfigurationSyntaxError < ComplexConfigError end class EncryptionError < ComplexConfigError end class EncryptionKeyInvalid < EncryptionError end class EncryptionKeyMissing < EncryptionError end class DecryptionFailed < EncryptionError end end
Version data entries
17 entries across 17 versions & 1 rubygems