kubernetes/vendor/k8s.io/kube-openapi/pkg/validation/errors/api.go

type Error

type apiError

func (a *apiError) Error() string {}

func (a *apiError) Code() int32 {}

// New creates a new API error with a code and a message
func New(code int32, message string, args ...interface{}