Improve sponsor message
This commit is contained in:
parent
d5262f4b42
commit
0da5c6ce91
5 changed files with 7 additions and 7 deletions
|
|
@ -8,6 +8,9 @@ var ErrNotAvailable = errors.New("not available")
|
|||
// ErrMustRetry indicates that a rate-limited operation should be retried
|
||||
var ErrMustRetry = errors.New("must retry")
|
||||
|
||||
// ErrSponsorRequired indicates that a sponsor token is required
|
||||
var ErrSponsorRequired = errors.New("sponsorship required, see https://github.com/andig/evcc#sponsorship")
|
||||
|
||||
// ErrTimeout is the error returned when a timeout happened.
|
||||
// Modeled after context.DeadlineError
|
||||
var ErrTimeout error = errTimeoutError{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue