GlobalExceptionHandler .cs 403 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Http.ExceptionHandling;
  6. namespace EVCB_OCPP.WEBAPI.Handlers
  7. {
  8. public class GlobalExceptionHandler: ExceptionHandler
  9. {
  10. public override void Handle(ExceptionHandlerContext context)
  11. {
  12. if(ShouldHandle(context))
  13. {
  14. }
  15. }
  16. }
  17. }