SupabaseS
Supabase2y ago
kgni

Query error codes

Hi guys, I know that the Supabase team is currently working on getting error status codes for authentication, so I was wondering if this is already documented/implemented for just querying the db through the client - is all of these just going to be PostgresErrors that I can look up in the postgres documentation?

The reason why I'm asking, is because I set up a middleware in Redux to handle all query errors automatically, and I want to translate my different error messages depending on the different codes
Was this page helpful?