Returns an exception based on the response object.
@param [Arachni::RPC::Response] response
@return [Exception]
# File lib/arachni/rpc/exceptions.rb, line 69 def self.from_response( response ) obj = response.obj klass = Arachni::RPC::Exceptions.const_get( obj['type'].to_sym ) e = klass.new( obj['exception'] ) e.set_backtrace( obj['backtrace'] ) e end
Generated with the Darkfish Rdoc Generator 2.