code: function(pMessage, pRequest, pResponse, fNext)
  		{
  			var tmpSessionID = null;
  			if (pRequest.UserSession)
  			{
  				tmpSessionID = pRequest.UserSession.SessionID;
  			}
  
  			_Log.warn('API Error: '+pMessage, {SessionID: tmpSessionID, RequestID:pRequest.RequestUUID, RequestURL:pRequest.url, Action:'APIError'}, pRequest);
  			pResponse.send({Error:pMessage});
  
  			return fNext();
  		}
docs: Send an Error to the client, and log it as an error in the log files.
  
  @method sendError