Sha256: 3f2e431a2358777ac2c44af0f8d1d6ff046f11423b1985fbd7e44e354c33bf1d

Contents?: true

Size: 435 Bytes

Versions: 23

Compression:

Stored size: 435 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
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
complex_config-0.11.3 lib/complex_config/errors.rb
complex_config-0.11.2 lib/complex_config/errors.rb
complex_config-0.11.1 lib/complex_config/errors.rb
complex_config-0.11.0 lib/complex_config/errors.rb
complex_config-0.10.0 lib/complex_config/errors.rb
complex_config-0.9.2 lib/complex_config/errors.rb
complex_config-0.9.1 lib/complex_config/errors.rb
complex_config-0.9.0 lib/complex_config/errors.rb
complex_config-0.8.0 lib/complex_config/errors.rb
complex_config-0.7.0 lib/complex_config/errors.rb
complex_config-0.6.0 lib/complex_config/errors.rb
complex_config-0.5.2 lib/complex_config/errors.rb
complex_config-0.5.0 lib/complex_config/errors.rb
complex_config-0.4.0 lib/complex_config/errors.rb
complex_config-0.3.1 lib/complex_config/errors.rb
complex_config-0.3.0 lib/complex_config/errors.rb
complex_config-0.2.3 lib/complex_config/errors.rb
complex_config-0.2.2 lib/complex_config/errors.rb
complex_config-0.2.1 lib/complex_config/errors.rb
complex_config-0.2.0 lib/complex_config/errors.rb