public ExceptionMiddleware(RequestDelegate next, ErrorsInformation errorsInformation) { this.next = next; this.errorsInformation = errorsInformation; }
public FriendlyErrorResponseFactory(ErrorsInformation errorsInformation) { this.errorsInformation = errorsInformation; }