Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValidationException

Hierarchy

  • Error
    • ValidationException

Index

Constructors

constructor

Properties

bullet

bullet: string = ''

children

message

message: string

name

name: string

Optional stack

stack?: string

Static indentPerLevel

indentPerLevel: number = 2

Static Optional prepareStackTrace

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

Type declaration

Static stackTraceLimit

stackTraceLimit: number

Methods

prettyStr

  • prettyStr(level?: number): string

simplify

summary

  • summary(level: number): string

toString

  • toString(): string

withBullet

Static captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc