Class: DocNotFoundError

DocNotFoundError(errorsopt)

Custom error class for document not found errors.

Constructor

new DocNotFoundError(errorsopt)

Custom error class for document not found errors.

Parameters:
Name Type Attributes Default Description
errors Array.<ErrorItem> <optional>
[]

An array of error objects, each containing details about validation failures.

Extends

  • Error

Classes

DocNotFoundError