public object Any(CustomHttpError request)
 {
     throw new HttpError(new CustomHttpErrorResponse
     {
         Custom         = "Ignored",
         ResponseStatus = new ResponseStatus("StatusErrorCode", "StatusErrorMessage")
     },
                         500,
                         "HeaderErrorCode");
 }
예제 #2
0
 public object Any(CustomHttpError request)
 {
     throw new HttpError(request.StatusCode, request.StatusDescription);
 }