errors

package
v2.14.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDeployErr

type ConfigDeployErr struct {
	Location           coordinate.Coordinate           `json:"location"`
	EnvironmentDetails configErrors.EnvironmentDetails `json:"environmentDetails"`
	Reason             string                          `json:"reason"`
	Err                error                           `json:"error"`
}

func NewConfigDeployErr

func NewConfigDeployErr(conf *config.Config, reason string) ConfigDeployErr

func (ConfigDeployErr) Coordinates

func (e ConfigDeployErr) Coordinates() coordinate.Coordinate

func (ConfigDeployErr) Error

func (e ConfigDeployErr) Error() string

func (ConfigDeployErr) LocationDetails

func (e ConfigDeployErr) LocationDetails() configErrors.EnvironmentDetails

func (ConfigDeployErr) Unwrap

func (e ConfigDeployErr) Unwrap() error

func (ConfigDeployErr) WithError

func (e ConfigDeployErr) WithError(err error) ConfigDeployErr

type DeploymentErrors added in v2.8.1

type DeploymentErrors struct {
	// ErrorCount tells how many errors occurred during a deployment
	ErrorCount int
}

DeploymentErrors is an error returned if any deployment errors occured. It carries a count of how many errors happened during deployment, but no details on those errors. The specific errors that have happened during deployment are handled by logging them, and never returned out of DeployConfigGraph.

func (DeploymentErrors) Error added in v2.8.1

func (d DeploymentErrors) Error() string

type EnvironmentDeploymentErrors

type EnvironmentDeploymentErrors map[string][]error

func (EnvironmentDeploymentErrors) Append

func (EnvironmentDeploymentErrors) Error

Jump to

Keyboard shortcuts

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