Adds an error for missing driver params
This commit is contained in:
parent
fc0b1b008d
commit
6a5144fb4e
1 changed files with 3 additions and 0 deletions
|
@ -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 }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue