erroer

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ErrTerraDaggerInvalidArgumentErrorPrefix = "Invalid argument errors"
View Source
const ErrTerraformCoreInvalidArgumentErrorPrefix = "Invalid argument passed to Terraform Core APIs"
View Source
const ErrTerraformCoreInvalidConfigurationPrefix = "Invalid configuration error while using Terraform Core APIs "

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseError added in v1.3.0

type BaseError struct {
	ErrWrapped error
	ErrMsg     string
}

BaseError provides common fields and methods for custom errors.

func (*BaseError) Error added in v1.3.0

func (e *BaseError) Error() string

Error generates the error message. It can be overridden by embedded types.

func (*BaseError) Unwrap added in v1.3.0

func (e *BaseError) Unwrap() error

Unwrap returns the wrapped error, if any.

type ErrTerraDaggerInvalidArgumentError

type ErrTerraDaggerInvalidArgumentError struct {
	BaseError // Embedding BaseError
}

func NewErrTerraDaggerInvalidArgumentError added in v1.2.0

func NewErrTerraDaggerInvalidArgumentError(errMsg string, err error) *ErrTerraDaggerInvalidArgumentError

NewErrTerraDaggerInvalidArgumentError creates a new ErrTerraDaggerInvalidArgumentError. It utilizes the BaseError struct for common functionality.

type ErrTerraformCoreInvalidArgumentError added in v1.3.0

type ErrTerraformCoreInvalidArgumentError struct {
	BaseError
}

func NewErrTerraformCoreInvalidArgumentError added in v1.3.0

func NewErrTerraformCoreInvalidArgumentError(errMsg string, err error) *ErrTerraformCoreInvalidArgumentError

type ErrTerraformCoreInvalidConfigurationError added in v1.2.1

type ErrTerraformCoreInvalidConfigurationError struct {
	BaseError
}

func NewErrTerraformCoreInvalidConfigurationError added in v1.2.1

func NewErrTerraformCoreInvalidConfigurationError(errMsg string, err error) *ErrTerraformCoreInvalidConfigurationError

Jump to

Keyboard shortcuts

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