Class: DocCreationError

DocCreationError(errorsopt)

Custom error class for document insert errors.

Constructor

new DocCreationError(errorsopt)

Custom error class for document insert 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

DocCreationError