Flowdock
method

wrap

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: JSONError
wrap(exception) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/json/lib/json/common.rb, line 108
    def self.wrap(exception)
      obj = new("Wrapped(#{exception.class}): #{exception.message.inspect}")
      obj.set_backtrace exception.backtrace
      obj
    end
Register or log in to add new notes.