diff --git a/config/config.go b/config/config.go index bb2e0e2..5a3f483 100644 --- a/config/config.go +++ b/config/config.go @@ -7,11 +7,14 @@ package config import ( "encoding/json" + "errors" "io" "os" "time" ) +var ErrMissingRequiredParam = errors.New("A parameter that was required by a driver is not present") + // Duration wraps a time.Duration and adds JSON marshalling. type Duration struct{ time.Duration }