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

    • Optionalmessage: string

    Returns NotFoundError

  • Parameters

    • Optionalmessage: string
    • Optionaloptions: ErrorOptions

    Returns NotFoundError

Properties

code: "NotFoundError"