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