errors

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigError

type ConfigError interface {
	error
	Coordinates() coordinate.Coordinate
}

type ConfigLoaderError

type ConfigLoaderError struct {
	Path string `json:"path"`
	Err  error  `json:"error"`
}

func (ConfigLoaderError) Error

func (e ConfigLoaderError) Error() string

func (ConfigLoaderError) Unwrap

func (e ConfigLoaderError) Unwrap() error

type ConfigWriterError

type ConfigWriterError struct {
	Path string `json:"path"`
	Err  error  `json:"error"`
}

func (ConfigWriterError) Error

func (e ConfigWriterError) Error() string

func (ConfigWriterError) Unwrap

func (e ConfigWriterError) Unwrap() error

type DefinitionParserError

type DefinitionParserError struct {
	Location coordinate.Coordinate `json:"location"`
	Path     string                `json:"path"`
	Reason   string                `json:"reason"`
}

func (DefinitionParserError) Coordinates

func (DefinitionParserError) Error

func (e DefinitionParserError) Error() string

type DetailedConfigError

type DetailedConfigError interface {
	ConfigError
	LocationDetails() EnvironmentDetails
}

type DetailedConfigWriterError

type DetailedConfigWriterError struct {
	Location coordinate.Coordinate `json:"location"`
	Path     string                `json:"path"`
	Err      error                 `json:"error"`
}

func (DetailedConfigWriterError) Coordinates

func (DetailedConfigWriterError) Error

func (DetailedConfigWriterError) Unwrap

func (e DetailedConfigWriterError) Unwrap() error

type DetailedDefinitionParserError

type DetailedDefinitionParserError struct {
	DefinitionParserError
	EnvironmentDetails EnvironmentDetails `json:"environmentDetails"`
}

func (DetailedDefinitionParserError) Environment

func (e DetailedDefinitionParserError) Environment() string

func (DetailedDefinitionParserError) LocationDetails

type EnvironmentDetails

type EnvironmentDetails struct {
	Group       string `json:"group"`
	Environment string `json:"environment"`
}

type InvalidJsonError

type InvalidJsonError struct {
	Location           coordinate.Coordinate `json:"location"`
	EnvironmentDetails EnvironmentDetails    `json:"environmentDetails"`
	TemplateFilePath   string                `json:"templateFilePath"`
	Err                error                 `json:"error"`
}

func (InvalidJsonError) Coordinates

func (e InvalidJsonError) Coordinates() coordinate.Coordinate

func (InvalidJsonError) Error

func (e InvalidJsonError) Error() string

func (InvalidJsonError) LocationDetails

func (e InvalidJsonError) LocationDetails() EnvironmentDetails

func (InvalidJsonError) Unwrap

func (e InvalidJsonError) Unwrap() error

type ParameterDefinitionParserError

type ParameterDefinitionParserError struct {
	DetailedDefinitionParserError
	ParameterName string `json:"parameterName"`
}

func (ParameterDefinitionParserError) Error

Jump to

Keyboard shortcuts

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