Provides struct and type for a ValidationError
@type t() :: %Polarex.ValidationError{ loc: [integer() | String.t()], msg: String.t(), type: String.t() }