コード例 #1
0
 private IActionResult HandleAuthenticationFailure(IAppWrapper response)
 {
     Console.WriteLine(response.Exception.Message);
     if (response.Exception.InnerException != null)
     {
         Console.WriteLine(response.Exception.InnerException.Message);
     }
     return(this.UnauthorizedResponse());
 }
コード例 #2
0
 private IActionResult HandleServiceFailure(IAppWrapper response)
 {
     Console.WriteLine(response.Exception.Message);
     if (response.Exception.InnerException != null)
     {
         Console.WriteLine(response.Exception.InnerException.Message);
     }
     return(this.BadRequestResponse(response.Message));
 }