Exception handling is required in any application. It is a very interesing issue where different apps have their own various way(s) to handle that. I plan to write a series of articles to discuss this issue
This article is information collection for HttpStatusCode.
The HttpStatusCode is used in ASP.NET Web API:
Click the Graph to view details:
HTTP response status codes
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:
- Informational responses (
100
– 199
)
- Successful responses (
200
– 299
)
- Redirection messages (
300
– 399
)
- Client error responses (
400
– 499
)
- Server error responses (
500
– 599
)
The status codes listed below are defined by RFC 9110.
References