code: function(name){
        var config = this._wreqrHandlers[name];
  
        if (!config){
          throw new Error("Handler not found for '" + name + "'");
        }
  
        return function(){
          var args = Array.prototype.slice.apply(arguments);
          return config.callback.apply(config.context, args);
        };
      }
docs: Get the currently registered handler for the specified name. Throws an exception if no handler is found.