private void Error(ApiGatewayException exception) { RequestContext.Current.Exception = exception; FilterRunner.Error(); }
public ApiResponseModel(ApiGatewayException exception) { StatusCode = exception.Code; StatusMessage = exception.Message; }