We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Things like
raise IllegalCommandUse( f"The deadline command cannot also be in the other commands!" )
Are fine, but not particularly user-friendly. I understand why Java/C++ don't do the friendly thing, but we can do better. Maybe something like?
raise IllegalCommandUse("message", deadline=deadline)
And have the constructor take msg, **kwargs, and append ", ".join(f"{k}={v!r}" for k, v in kwargs.items())?
msg, **kwargs
", ".join(f"{k}={v!r}" for k, v in kwargs.items())
Might do in #46, we'll see.
The text was updated successfully, but these errors were encountered:
Improved error messages
188589e
- While this isn't strictly compatible with Java, that's fine - Fixes #47
f6936e0
Successfully merging a pull request may close this issue.
Things like
Are fine, but not particularly user-friendly. I understand why Java/C++ don't do the friendly thing, but we can do better. Maybe something like?
And have the constructor take
msg, **kwargs
, and append", ".join(f"{k}={v!r}" for k, v in kwargs.items())
?Might do in #46, we'll see.
The text was updated successfully, but these errors were encountered: