Python Functions User Facing Error

Is there a python function equivalent of typescript User Facing Errors?

Yes! You can use UserFacingError from the functions.api package:

from functions.api import UserFacingError

...

raise UserFacingError("User-facing error message")

Thank you! Is this called out in the public docs? I tried to look there but could not find it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.