Error Endpoints

Post Status Code

1
/v1/Error

This endpoint is reached when an error happens in the routing. Possible query:

  • statusCode (int): The statuscode gotten when the error happened

Example request URL:

1
http://localhost:5000/v1/Error?statusCode=400

Example response body:

1
2
3
4
5
{
  "message": "Statuscode: 400",
  "details": "",
  "errorKey": "UnknownError"
}

Get Status Code

1
/v1/Error

This endpoint is reached when an error happens in the routing.

Update Status Code

1
/v1/Error

This endpoint is reached when an error happens in the routing.

Delete Status Code

1
/v1/Error

This endpoint is reached when an error happens in the routing.

Patch Status Code

1
/v1/Error

This endpoint is reached when an error happens in the routing.


Last update: September 18, 2024