package kusterr
import "sigs.k8s.io/kustomize/api/internal/kusterr"
Package error has contextual error types.
Index ¶
- func Handler(e error, path string) error
- func IsMalformedYAMLError(e error) bool
- type MalformedYamlError
- type YamlFormatError
Functions ¶
func Handler ¶
Handler handles YamlFormatError
func IsMalformedYAMLError ¶
Types ¶
type MalformedYamlError ¶
MalformedYamlError represents an error that occurred while trying to decode a given YAML.
func (MalformedYamlError) Error ¶
func (e MalformedYamlError) Error() string
type YamlFormatError ¶
YamlFormatError represents error with yaml file name where json/yaml format error happens.
func (YamlFormatError) Error ¶
func (e YamlFormatError) Error() string
Source Files ¶
yamlformaterror.go
- Version
- v0.20.0 (latest)
- Published
- Jun 28, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 11 hours ago –
Tools for package owners.