kusterr

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package error has contextual error types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(e error, path string) error

Handler handles YamlFormatError

func IsMalformedYAMLError added in v0.11.3

func IsMalformedYAMLError(e error) bool

Types

type MalformedYamlError added in v0.11.3

type MalformedYamlError struct {
	Path     string
	ErrorMsg string
}

MalformedYamlError represents an error that occurred while trying to decode a given YAML.

func (MalformedYamlError) Error added in v0.11.3

func (e MalformedYamlError) Error() string

type YamlFormatError

type YamlFormatError struct {
	Path     string
	ErrorMsg string
}

YamlFormatError represents error with yaml file name where json/yaml format error happens.

func (YamlFormatError) Error

func (e YamlFormatError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL