Sha256: b8f79f85434609d389fb02cc86d1a7bca02bf8c82eb216d507933a2eb5b229a5

Contents?: true

Size: 431 Bytes

Versions: 152

Compression:

Stored size: 431 Bytes

Contents

module MultiJson
  class ParseError < StandardError
    attr_reader :data, :cause

    def self.build(original_exception, data)
      new(original_exception.message).tap do |exception|
        exception.instance_eval do
          @cause = original_exception
          set_backtrace original_exception.backtrace
          @data = data
        end
      end
    end
  end

  DecodeError = LoadError = ParseError # Legacy support
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/parse_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/parse_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/parse_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/parse_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/parse_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/parse_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/parse_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/parse_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/parse_error.rb
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/multi_json-1.15.0/lib/multi_json/parse_error.rb
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/multi_json-1.15.0/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/multi_json-1.13.1/lib/multi_json/parse_error.rb