After almost two-and-a-half years, here is the answer as to how to get
error information from the controller when controller.GetApiResponse()
is null. CallANetApiResponse errorResponse =
controller.GetErrorResponse();then you can get the error code(s...