Error P2025 missing from docs
See original GitHub issueProblem
The docs are missing the Record to update not found. error code P2025.
https://www.prisma.io/docs/reference/api-reference/error-reference#prismaclientknownrequesterror
Suggested solution
Add the P2025 code to the docs
Alternatives
Remove the error from Prisma? No I’m sorry, I don’t have a good alternative.
Additional context
😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Error message reference - Prisma
Prisma Client throws a PrismaClientValidationError exception if validation fails - for example: Missing field - for example, an empty data: {} property when ......
Read more >Troubleshoot Google Docs, Sheets, Slides & Forms error ...
If you get an error message such as "Something went wrong. Reload" or "Unable to load file" preventing you from making edits on...
Read more >Prisma failed queries don't return proper errors - Stack Overflow
This is where I execute the query that I expected to get the proper error as per the docs: user.controller.ts : import {...
Read more >Compliance visit Provider Follow-up plan- Paper_Non Compliant
P2025 Zoster Vaccine: CDC Answers Your Questions ... P3036 Don't be Guilty of These Preventable Errors in ... and lost/wasted in the previous...
Read more >"Disappearing" docs - Google Groups
The only time I ever lost documents is when I misunderstood the way they were stored on my Linux ... I can't tell...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Added - thanks for raising!
Yes, the same error code
P2025is thrown no matter if it is an update or delete, however the message is different.and
But the docs say
P2025is thrown when theRecord to delete does not exist.