ValidationLocationError: { loc: string[]; msg: string; type: string }

An error that was generated during validation that includes the location of the error.

Type declaration

  • loc: string[]

    The location of the error represents the path to the property that caused the error.

  • msg: string
  • type: string