(err error)
| 41 | var PendingError = errors.New("PendingError") |
| 42 | |
| 43 | func IsUserCancellation(err error) bool { |
| 44 | return errors.Is(err, CancelError) || errors.Is(err, terminal.InterruptErr) |
| 45 | } |
| 46 | |
| 47 | func MutuallyExclusive(message string, conditions ...bool) error { |
| 48 | numTrue := 0 |
no outgoing calls
no test coverage detected