You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
380 B
13 lines
380 B
7 days ago
|
using CoreAgent.Infrastructure.Middleware;
|
||
|
using Microsoft.AspNetCore.Builder;
|
||
|
|
||
|
namespace CoreAgent.Infrastructure.Extensions
|
||
|
{
|
||
|
public static class ExceptionMiddlewareExtensions
|
||
|
{
|
||
|
public static IApplicationBuilder UseExceptionMiddleware(this IApplicationBuilder builder)
|
||
|
{
|
||
|
return builder.UseMiddleware<ExceptionMiddleware>();
|
||
|
}
|
||
|
}
|
||
|
}
|