Parent

Methods

Files

JSON::JSONError

The base exception for JSON errors.

Public Class Methods

wrap(exception) click to toggle source
     # File lib/json/common.rb, line 107
107:     def self.wrap(exception)
108:       obj = new("Wrapped(#{exception.class}): #{exception.message.inspect}")
109:       obj.set_backtrace exception.backtrace
110:       obj
111:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.