INNER CODE UNIT · C#

ServiceExceptionFilter

microsurging/surging · src/Surging.ApiGateway/ServiceExceptionFilter.cs:10

    public class ServiceExceptionFilter: ExceptionFilterAttribute
    {
        public override void OnException(RpcActionExecutedContext context)
        {
            if (context.Exception is CPlatformCommunicationException)
                throw new Exception(context.Exception.Message,context.Exception);
        }
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…