Exception: JSON::JSONError
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
StandardError
|
|
Instance Chain:
self,
StandardError
|
|
Inherits: |
StandardError
|
Defined in: | ext/json/lib/json/common.rb |
Overview
The base exception for ::JSON errors.
Class Method Summary
Class Method Details
.wrap(exception)
[ GitHub ]# File 'ext/json/lib/json/common.rb', line 108
def self.wrap(exception) obj = new("Wrapped(#{exception.class}): #{exception. .inspect}") obj.set_backtrace exception.backtrace obj end