Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:condition-case key should be able to specify the error-symbol #12

Open
vermiculus opened this issue Mar 18, 2018 · 1 comment
Open

Comments

@vermiculus
Copy link
Owner

vermiculus commented Mar 18, 2018

Right now, the :condition-case key doesn't provide any symbol for error handlers. This will soon change to accommodate changes in Ghub, but due to time constraints, I can't change it in the way I'd like.

Ideally, we want syntax like this:

:condition-case err
((sym-1 (handle-1 err))
 (sym-2 (handle-2 err))

This is difficult because at the moment, these keys are expected to have one value. Perhaps a different key should be introduced to specify the error-symbol, but I'd like to think on that more.

@vermiculus
Copy link
Owner Author

Related to conversations in magit/ghub@6fd4434

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant