mirror of
https://github.com/LBRYFoundation/tracker.git
synced 2025-08-27 07:23:26 +00:00
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 (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"errors"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"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.
|
// Duration wraps a time.Duration and adds JSON marshalling.
|
||||||
type Duration struct{ time.Duration }
|
type Duration struct{ time.Duration }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue