/// <summary>
 /// Handle error status codes.
 /// </summary>
 /// <remarks>
 /// This is limited to handling the following:
 ///  - 401 Unauthorized
 ///  - 403 Forbidden
 ///  - 404 Not Found
 ///  - 500 Server Error
 /// </remarks>
 /// <param name="httpContext">The HTTP context instance.</param>
 /// <param name="statusCode">The HTTP status code.</param>
 /// <returns><c>true</c> if the error status code was handled; otherwise, <c>false</c>.</returns>
 public static bool HandleErrorStatusCode(this HttpContextWrapper httpContext, int statusCode)
 {
     return(httpContext.HandleErrorStatusCode(statusCode, null));
 }