IsAborted reports whether the error represents user-initiated form cancellation.
(err error)
| 91 | |
| 92 | // IsAborted reports whether the error represents user-initiated form cancellation. |
| 93 | func IsAborted(err error) bool { |
| 94 | return errors.Is(err, huh.ErrUserAborted) |
| 95 | } |
no outgoing calls