Adds an error for missing driver params

This commit is contained in:
Jimmy Zelinskie 2014-07-14 20:36:49 -04:00
parent fc0b1b008d
commit 6a5144fb4e

View file

@ -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 }