aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers/ErrorController.cs
blob: 9af73ef0409906338a3303949705e71d1fa5aed1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Net;
using Microsoft.AspNetCore.Mvc;

namespace API.Controllers
{
	[ApiController]
	[Route("/api/[controller]")]
	public class ErrorController
	{
		[HttpGet]
		public HttpStatusCode Error(Exception exception)
		{
			return HttpStatusCode.OK;
		}
	}
}