Add GPIO plugin (#25806)

This commit is contained in:
andig 2025-12-05 11:39:39 +01:00 • committed by GitHub
parent 60c8993c0c
commit 1c11cc46a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 92 additions and 12 deletions

View file

@ -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")