Versions in this module Expand all Collapse all v1 v1.2.3 Sep 20, 2024 Changes in this version + const LevelError + const LevelWarn + type Error struct + BadValue interface{} + Detail string + Field string + Level Level + Type ErrorType + func ErrFailedValidation(detail string, value interface{}) Error + func ErrFieldMissing(detail string, field string, value interface{}) Error + func ErrIOError(detail string, value interface{}) Error + func ErrInvalidBundle(detail string, value interface{}) Error + func ErrInvalidCSV(detail, csvName string) Error + func ErrInvalidManifestStructure(detail string) Error + func ErrInvalidObject(value interface{}, detail string) Error + func ErrInvalidOperation(detail string, value interface{}) Error + func ErrInvalidPackageManifest(detail string, pkgName string) Error + func ErrInvalidParse(detail string, value interface{}) Error + func ErrUnsupportedType(detail string) Error + func NewError(t ErrorType, detail, field string, v interface{}) Error + func NewWarn(t ErrorType, detail, field string, v interface{}) Error + func WarnDeprecatedValidator(detail string) Error + func WarnFailedValidation(detail string, value interface{}) Error + func WarnFieldMissing(detail string, field string, value interface{}) Error + func WarnIOError(detail string, value interface{}) Error + func WarnInvalidBundle(detail string, value interface{}) Error + func WarnInvalidCSV(detail, csvName string) Error + func WarnInvalidManifestStructure(detail string) Error + func WarnInvalidObject(detail string, value interface{}) Error + func WarnInvalidOperation(detail string, value interface{}) Error + func WarnInvalidPackageManifest(detail string, pkgName string) Error + func WarnInvalidParse(detail string, value interface{}) Error + func WarnPropertiesAnnotationUsed(detail string) Error + func WarnUnsupportedType(detail string) Error + func (e Error) Error() string + type ErrorType string + const ErrorDeprecatedValidator + const ErrorFailedValidation + const ErrorFieldMissing + const ErrorIO + const ErrorInvalidBundle + const ErrorInvalidCSV + const ErrorInvalidManifestStructure + const ErrorInvalidOperation + const ErrorInvalidPackageManifest + const ErrorInvalidParse + const ErrorObjectFailedValidation + const ErrorPropertiesAnnotationUsed + const ErrorUnsupportedType + type Level string + type ManifestResult struct + Errors []Error + Name string + Warnings []Error + func (r *ManifestResult) Add(errs ...Error) + func (r ManifestResult) HasError() bool + func (r ManifestResult) HasWarn() bool