By default, security rules give me an error like this PERMISSION_DENIED: false for 'update' @ L236. As you could see it's not that useful.
For eg in the case of rate-limited Is there a way to send something like 429 status code along with a custom message which I could render in my front end... In case some field is missing I could do an error in userName or something like that
I couldn't find any reference in https://firebase.google.com/docs/reference/rules/rules.firestore