Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValidationResult

Result generated by schema validation

Hierarchy

  • ValidationResult

Index

Constructors

constructor

  • Creates a new instance of validation ressult and sets its values.

    see

    ValidationResultType

    Parameters

    • Default value path: string = null

      a dot notation path of the validated element.

    • Default value type: ValidationResultType = null

      a type of the validation result: Information, Warning, or Error.

    • Default value code: string = null

      an error code.

    • Default value message: string = null

      a human readable message.

    • Default value expected: any = null

      an value expected by schema validation.

    • Default value actual: any = null

      an actual value found by schema validation.

    Returns ValidationResult

Methods

getActual

  • getActual(): any

getCode

  • getCode(): string

getExpected

  • getExpected(): any

getMessage

  • getMessage(): string

getPath

  • getPath(): string

getType

Generated using TypeDoc