Options
All
  • Public
  • Public/Protected
  • All
Menu

Error thrown by ensureValidMetadata when validation fails. The message will contain a description of all errors encountered.

The original AJV DefinedError objects are exposed as the errors property.

Hierarchy

Index

Constructors

Properties

errors: DefinedError[]
message: string
name: string
stack?: string
prepareStackTrace?: (err: <internal>.Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc