Cloud Function Exception Handling

Is there a way to throw Exception and http status code other than 200 from the cloud function so the httpRequest call can handle the errors appropriately?

I don’t know if it is possible, you could return a custom json with an error, but that may not help you