How to return field error(s) from server action?

Hi, I'd like to handle field errors when submitting a form using
createServerAction$
. I understand I can throw a
ResponseError
but I can't find in the doc how to use it.
Was this page helpful?