v0.6.7 Latest Latest

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 1 Imported by: 0



Package errcode contains the list of all the errors we can return. This way we have a single package for the errors and can be reused between multiple packages



This section is empty.


View Source
var (
	ErrGraphEdgeReplace              = errors.New("graph edge replace source not found")
	ErrGraphRequiredEdgeID           = errors.New("graph edge ID is required")
	ErrGraphRequiredEdgeTarget       = errors.New("graph edge target is required")
	ErrGraphRequiredEdgeSource       = errors.New("graph edge source is required")
	ErrGraphNotFoundEdgeTarget       = errors.New("graph edge target not found")
	ErrGraphNotFoundEdgeSource       = errors.New("graph edge source not found")
	ErrGraphAlreadyExistsEdge        = errors.New("graph edge already exists")
	ErrGraphAlreadyExistsEdgeID      = errors.New("graph edge ID already exists")
	ErrGraphRequiredNodeCanonical    = errors.New("graph node canonical is required")
	ErrGraphRequiredNodeID           = errors.New("graph node ID is required")
	ErrGraphAlreadyExistsNode        = errors.New("graph node already exists")
	ErrGraphAlreadyExistsNodeID      = errors.New("graph node ID already exists")
	ErrGraphNotFoundNode             = errors.New("graph node not found")
	ErrGraphRequiredEdgeBetweenNodes = errors.New("graph requires edge between nodes")

	ErrProviderNotFoundResource   = errors.New("provider resource not found")
	ErrProviderNotFoundDataSource = errors.New("provider data source not found")
	ErrProviderNotFound           = errors.New("provider not found")

	ErrInvalidTFStateFile                  = errors.New("invalid Terraform State file")
	ErrInvalidTFStateVersion               = errors.New("invalid Terraform State version, we only support version 3 and 4")
	ErrInvalidTFStateFileMissingResourceID = errors.New("invalid Terraform State file, a resource is missing the")

	ErrPrinterNotFound = errors.New("printer not found")

	ErrGenerateFromJSON = errors.New("we do not support JSON HCL")

List of all the errors


This section is empty.


This section is empty.

Jump to

Keyboard shortcuts

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