Class ValidationException

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

errors

errors: ValidationError[]

message

message: string

name

name: string

Optional stack

stack: string

Methods

Static throw

  • throw(property: string, constraints: {}): void
  • Parameters

    • property: string
    • constraints: {}
      • [key: string]: string

    Returns void