You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a CLI app, and I'm using a package named promptui to display fancy prompts. If a user presses Ctrl+D or Ctrl+C while a prompt is active, this package returns specific error types to indicate this. These error types are statically declared, and I don't have any need to wrap these errors before passing them on.
It would be nice if there was a way to exclude specific errors, rather than any error from a given package.
The text was updated successfully, but these errors were encountered:
I'm creating a CLI app, and I'm using a package named
promptui
to display fancy prompts. If a user pressesCtrl+D
orCtrl+C
while a prompt is active, this package returns specific error types to indicate this. These error types are statically declared, and I don't have any need to wrap these errors before passing them on.It would be nice if there was a way to exclude specific errors, rather than any error from a given package.
The text was updated successfully, but these errors were encountered: