Add custom exceptions in http_response_code_check()