/// <summary>
 /// Promisify the specified callback ignoring the response.
 /// </summary>
 /// <param name="promise">The promise to resolve.</param>
 /// <param name="error">The exception of the request.</param>
 /// <param name="response">The response of the request.</param>
 /// <param name="body">A body of the response.</param>
 /// <typeparam name="T">The element type of the response.</typeparam>
 private static void Promisify <T>(this Promise <T> promise, RequestException error, ResponseHelper response, T body)
 {
     if (error != null && response != null)
     {
         error.ServerMessage = response.Error ?? error.Message;
     }
     promise.Promisify(error, body);
 }