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