Exception: ComplexConfig::ComplexConfigError
- Defined in:
- lib/complex_config/errors.rb
Direct Known Subclasses
AttributeMissing, ConfigurationFileMissing, ConfigurationSyntaxError, EncryptionError
Class Method Summary collapse
Class Method Details
.wrap(klass, e) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/complex_config/errors.rb', line 3 def self.wrap(klass, e) Class === klass or klass = ComplexConfig.const_get(klass) error = klass.new(e.) error.set_backtrace(e.backtrace) error end |