Hello to all. I have a question about the document...
# prisma-client
k
Hello to all. I have a question about the documentation. Where can I find the return type of the CRUD methods for example
create
if something fails. I see only the return type of the happy case documented on the prisma website.
r
@koufatzis 👋 There’s no return type for that as an error will be thrown there. You would need to handle it using
try/catch
and here’s the list of error codes that you will get.
k
@Ryan Thank you. That is what I was looking for
🙌 1