Interface for handling and reporting HTTP errors in the server
Method to report errors for logging or monitoring
Method to handle errors and send appropriate responses
Interface for handling and reporting HTTP errors in the server