I want to throw errors and exceptions in plsql fun...
# help
d
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
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
Did you try it? Raise log works fine in functions.
n
deepu (2022-05-18)
d
Raise log seems to be raising logs in the logs but not on the user end side
n
throw errors from sql function to end point