Class NotFoundError

Represents an error indicating that a requested entity or item could not be found within the database. This error is thrown during operations that expect to find and return a specific item, but the item does not exist in the database.

Hierarchy

  • Error
    • NotFoundError

Constructors

Properties

Constructors

  • Parameters

    • Optional message: string

    Returns NotFoundError

  • Parameters

    • Optional message: string
    • Optional options: ErrorOptions

    Returns NotFoundError

Properties

code: "NotFoundError" = "NotFoundError"

Generated using TypeDoc