gspot/src/components/commands/errors.go

8 lines
141 B
Go
Raw Normal View History

2024-02-18 09:30:19 +00:00
package commands
import "strings"
func isNoActiveError(err error) bool {
return strings.Contains(err.Error(), "No active device found")
}