From f8dd04620150c2806169c881c8537dc623a0f463 Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 10 Dec 2020 19:18:16 +0200 Subject: Starting to implement Error Controller --- API/Controllers/ErrorController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'API/Controllers') diff --git a/API/Controllers/ErrorController.cs b/API/Controllers/ErrorController.cs index 4c5d9ef..6757804 100644 --- a/API/Controllers/ErrorController.cs +++ b/API/Controllers/ErrorController.cs @@ -2,10 +2,10 @@ using System; namespace API.Controllers { + [ApiController] public class ErrorController { - //FIXME: SHOULD NOT BE VOID - public void Error(Exception exception) + public HttpStatusCode Error(Exception exception) { } -- cgit v1.2.3