Skip to content

Clarify the "RecordNotFound" exception in update() and delete() #6979

@jyasskin

Description

@jyasskin

At

| `RecordNotFound` exception | | Exception is thrown if record does not exist. |

and
| `RecordNotFound` exception | | Throws an exception if record does not exist. |

there's no Prisma.RecordNotFound exception type. I think those should refer to the "P2025" error code in Prisma.PrismaClientKnownRequestError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/docsDocumentation creation, updates or corrections

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions