Options
All
  • Public
  • Public/Protected
  • All
Menu

A special type of error that wraps multiple errors which occurred during DataModel validation.

param errors

An array or object containing several errors.

Hierarchy

  • Error
    • ModelValidationError

Index

Constructors

Properties

Methods

Constructors

Properties

errors: any

Methods

  • formatErrors(errors: any): string
  • Collect all the errors into a single message for consumers who do not handle the ModelValidationError specially.

    Parameters

    • errors: any

      The raw error structure

    Returns string

    A formatted error message