Closed as not planned
Description
I'm raising https_fn.HttpsError
with various code=https_fn.FunctionsErrorCode.XYZ
from within an @https_fn.on_request()
-decorated function to test error paths. But if I throw e.g. ostensibly a 400 (FunctionsErrorCode.NOT_FOUND
) the caller gets a 500. It doesn't matter what type of error I throw. Is this intentional for on_request
? I'd love to have more granular HTTP errors.
Anyway, thanks very much for a lovely Python3 SDK for FB Functions - it's a super convenient service.