Options
All
  • Public
  • Public/Protected
  • All
Menu

An error that is thrown when validation of a schema fails.

see

ifInvalidThrow - for throwing errors on invalid input.

Hierarchy

  • Error
    • MapperValidationError

Index

Constructors

Properties

errors: string[]
message: string
name: string
stack?: string
prepareStackTrace?: ((err: 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