code: function extractError(response, request) {
  
  	var result,
  	    entry,
  	    req,
  	    i;
  
  	response = Blast.Bound.Array.cast(response);
  	request = Blast.Bound.Array.cast(request);
  
  	for (i = 0; i < response.length; i++) {
  		entry = response[i];
  
  		if (entry.error) {
  			req = request[i] || {};
  			result = new Error('Error in "' + req.type + '" command: ' + entry.error);
  			result.type = req.type;
  			result.vbmsg = entry.error;
  			result.req = req;
  			break;
  		}
  	}
  
  	if (result) {
  		result.original_response = response;
  	}
  
  	return result;
  }
docs: Extract an error from the response object/array
  
  @author   Jelle De Loecker   <jelle@develry.be>
  @since    0.2.1
  @version  0.2.2
  
  @param    {Array|Object} response
  @param    {Array|Object} request
  
  @return   {Error}