Sha256: 6f3862bba44578efc0667d51f4f7a17cb4b4a3bece100d9931efefd2c8ab6760

Contents?: true

Size: 417 Bytes

Versions: 152

Compression:

Stored size: 417 Bytes

Contents

module MultiJson
  class AdapterError < ArgumentError
    attr_reader :cause

    def self.build(original_exception)
      message = "Did not recognize your adapter specification (#{original_exception.message})."
      new(message).tap do |exception|
        exception.instance_eval do
          @cause = original_exception
          set_backtrace original_exception.backtrace
        end
      end
    end
  end
end

Version data entries

152 entries across 126 versions & 28 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.0.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/2.6.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/adapter_error.rb