Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

  • captureStackTrace(targetObject: <internal>.Object, constructorOpt?: Function): void

Properties

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number
messages: any
Messages: any
name: "ValidationError"

The type of error. "MongooseError" for generic errors.

errors: {}

Type declaration

addError: ((path: string, error: <internal>.ValidatorError | <internal>.CastError) => void)

Type declaration

message: string
stack?: string

Constructors

Generated using TypeDoc