https://supabase.com/ logo
#help
Title
# help
d

d33pu

05/18/2022, 9:06 AM
I want to throw errors and exceptions in plsql functions but I don't see auto suggestions for "Raise Exception" or "Notice" . Is it not supported in Supabase? Is there any workaround or otherways to do it? My usecase is I am building a function where I want to use it as an endpoint. I need to throw errors from function so it is visible on the endpoint.
n

Needle

05/18/2022, 9:06 AM
Hello @d33pu! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g

garyaustin

05/18/2022, 1:48 PM
Did you try it? Raise log works fine in functions.
n

Needle

05/18/2022, 1:48 PM
deepu (2022-05-18)
d

d33pu

05/19/2022, 3:15 AM
Raise log seems to be raising logs in the logs but not on the user end side
n

Needle

05/19/2022, 9:06 AM
throw errors from sql function to end point