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

args: add new UnknownCommandError type #2178

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvo5
Copy link

@mvo5 mvo5 commented Aug 16, 2024

This commit makes unknown commands a proper error type so that the caller can check for this specific error type without having to do string comparisons.

This is useful in the context of #823

@CLAassistant
Copy link

CLAassistant commented Aug 16, 2024

CLA assistant check
All committers have signed the CLA.

This commit makes unknown commands a proper error type so that
the caller can check for this specific error type without having
to do string comparisons.

This is useful in the context of spf13#823

Signed-off-by: Michael Vogt <mvogt@redhat.com>
Signed-off-by: Michael Vogt <michael.vogt@gmail.com>
@mvo5 mvo5 force-pushed the add-unknown-command-error branch from c1e2c64 to a75c389 Compare August 19, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants