func (te *TypeError) Error() string {
	return fmt.Sprintf("%s: type=%s, kind=%s", te.Message, te.Type, te.Type.Kind())
}
Error implements the builtin error interface for TypeError.
package openapi
import (
	"fmt"
	"reflect"
)
type FieldError struct {
	Name              string
	TypeName          string
	Type              reflect.Type
	Message           string
	ParameterLocation string
	Parent            reflect.Type
}
func (fe *FieldError) Error() string {
	return fmt.Sprintf("%s: field=%s, type=%s", fe.Message, fe.Name, fe.TypeName)
}
type TypeError struct {
	Message string
	Type    reflect.Type
}