Class: DatabaseError

utils/errorUtil~DatabaseError()

new DatabaseError()

Custom error class for handling database operation errors.

Source:

Extends

  • BaseError

utils/errorUtil~DatabaseError(message)

new DatabaseError(message)

Constructs the DatabaseError instance with a prefixed message.

Parameters:
Name Type Description
message string

The error message related to database operations.

Source: