cfg

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package cfg provides shared configuration that are used across different versions of Fhenix configurations.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingField = fmt.Errorf("mandatory field not specified")
	ErrInvalidField = fmt.Errorf("invalid field value")
)

Functions

This section is empty.

Types

type FieldError

type FieldError struct {
	// Field is the name of the field that caused the error.
	Field string

	// Err is the error that occurred.
	Err error
}

FieldError is an error that occurred while parsing a specific config field.

func (*FieldError) Error

func (e *FieldError) Error() string

func (*FieldError) Unwrap

func (e *FieldError) Unwrap() error

Directories

Path Synopsis
Package cfg contains the raw config data as is parsed directly from YAML.
Package cfg contains the raw config data as is parsed directly from YAML.

Jump to

Keyboard shortcuts

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