Class: NotFoundError

utils/errorUtil~NotFoundError()

new NotFoundError()

Custom error class for handling errors related to not found resources.

Source:

Extends

  • BaseError

utils/errorUtil~NotFoundError(message)

new NotFoundError(message)

Constructs the NotFoundError instance with a prefixed message.

Parameters:
Name Type Description
message string

The error message for not found resources.

Source: