How to customize 404 and 500 error messages in rest service?
Hi,
2 questions about how to customize Rest Service related error message.
1. when the client input a incorrect rest service url, it will return a [404 Not Found] error and [Resource not found] in response body. Is that possible to customize the message in body part?
2. When a rest service request was sent to server side, while the maximum requestor number has already been reached, it will get an [500 Internal Server Error]. Is that possible to customize the error code and message to another, so it will be easy to understand the cause.
404 Not Found Error
500 Internal Error