get error data from supabase

i used supabase postgres for data base ,
when creating sign up form i use plasmic step that call custom write query :

insert auth.users

query, and thats works fine,
but i want to add steps in wich , when email sign up by user was already registered in supabase auth ( not unique , user already sign up ) then notification steps pop up ?
how to do that with error response ?