Class ValidationException

Exception reporting the occurrence of one or more validation errors.

Hierarchy

  • ValidationException

Constructors

Properties

Methods

Constructors

Properties

details: readonly ValueError[] = []

The individual validation errors

message: string

Overall error message

Methods

  • Returns a string representation of the error. Provides the overall error message, followed by the specific error messages, one per line.

    Returns string

    a string representation of the error.

  • Returns a string representation of a validation error, which precedes the error with its reference path if it occurs in an object.

    Parameters

    • error: ValueError

    Returns string

Generated using TypeDoc