Add GPIO plugin (#25806)
This commit is contained in:
parent
60c8993c0c
commit
1c11cc46a1
5 changed files with 92 additions and 12 deletions
|
|
@ -8,7 +8,10 @@ import (
|
|||
)
|
||||
|
||||
// ErrNotAvailable indicates that a feature is not available
|
||||
var ErrNotAvailable = errors.New("not available")
|
||||
var ErrNotAvailable = backoff.Permanent(errors.New("not available"))
|
||||
|
||||
// ErrUnsupportedPlatform indicates unsupported hardware platform
|
||||
var ErrUnsupportedPlatform error = backoff.Permanent(errors.New("unsupported platform"))
|
||||
|
||||
// ErrMustRetry indicates that a rate-limited operation should be retried
|
||||
var ErrMustRetry = errors.New("must retry")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue