Website Summary Files Commits Branches @commit @diff @stats
path: root / API / Controllers / ErrorController.cs
diff options
context:
space:
mode:
Commitf8dd04620150c2806169c881c8537dc623a0f463 (patch)
Author
 transtrike <transtrike@gmail.com>
2020-12-10 19:18:16 +0200
Committer
 transtrike <transtrike@gmail.com>
2020-12-10 19:18:16 +0200
Files408f72da2db74a5c410e7cc30d3a01d6ddc60221 /API/Controllers/ErrorController.cs
DevHive-f8dd04620150c2806169c881c8537dc623a0f463.tar
DevHive-f8dd04620150c2806169c881c8537dc623a0f463.tar.gz
DevHive-f8dd04620150c2806169c881c8537dc623a0f463.zip
Parentc57a333078cdaec29f70b033f95f408d82eac4bc (diff)
Starting to implement Error Controller
1 files changed, 2 insertions, 2 deletions
-rw-r--r--API/Controllers/ErrorController.cs4
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)
{
}