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
Click to show internal directories.
Click to hide internal directories.