Files
aicyclingcoach-go/internal/garmin/errors.go
2025-09-17 17:30:18 -07:00

17 lines
328 B
Go

package garmin
import "fmt"
// AuthenticationError represents an authentication failure with Garmin Connect.
type AuthenticationError struct {
Err error
}
func (e *AuthenticationError) Error() string {
return fmt.Sprintf("authentication failed: %v", e.Err)
}
func (e *AuthenticationError) Unwrap() error {
return e.Err
}