Stanislav N. aka pztrn
5fc6d3a181
Some checks failed
continuous-integration/drone/push Build is failing
Got rid of context thing which misleads due to existance of stdlib's context package. Also fixed golangci-lint configuration. Fixes #20.
16 lines
563 B
Go
16 lines
563 B
Go
package application
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrConfigurationError indicates that this error is related to configuration.
|
|
ErrConfigurationError = errors.New("configuration")
|
|
|
|
// ErrConfigurationLoad indicates that error appears when trying to load
|
|
// configuration data from file.
|
|
ErrConfigurationLoad = errors.New("loading configuration")
|
|
|
|
// ErrConfigurationPathNotDefined indicates that CONFIG_PATH environment variable is empty or not defined.
|
|
ErrConfigurationPathNotDefined = errors.New("configuration path (CONFIG_PATH) is empty or not defined")
|
|
)
|