public ExceptionMiddleware(RequestDelegate next, ErrorsInformation errorsInformation)
 {
     this.next = next;
     this.errorsInformation = errorsInformation;
 }
示例#2
0
 public FriendlyErrorResponseFactory(ErrorsInformation errorsInformation)
 {
     this.errorsInformation = errorsInformation;
 }