An error that occurs when an object does not match the expected shape.

Hierarchy

  • Error
    • ValidationError

Constructors

Properties

Constructors

  • Parameters

    • Optional message: string

    Returns ValidationError

  • Parameters

    • Optional message: string
    • Optional options: ErrorOptions

    Returns ValidationError

Properties

name: "ValidationError" = ...