public static IApplicationBuilder UseErrorHandler(this IApplicationBuilder app,
                                                   ExceptionHandlerOptions options)
 {
     app.UseMiddleware <ExceptionHandlerMiddleware>(options);
     return(app);
 }