MissingArgs raised when TypeError raised during command invocation
Closed this issue · 4 comments
Deleted user commented
Describe the bug
yami.exceptions.MissingArgs
was raised when a TypeError
was raised during a command invocation
To Reproduce
Raise TypeError
in a command (although I had an actual mistake in this case)
Expected behavior
Not really sure 😅
System Information:
Yami v0.3.0.post0 [HEAD]
@ some_stuff\.venv\lib\site-packages\yami
CPython 3.10.1 MSC v.1929 64 bit (AMD64)
Windows DESKTOP-6HI8J39 10 AMD64
10.0.22000
Additional context
None
Jonxslays commented
After some thought based on the fact that your command is actually missing a required arg, this exception seems valid.
Jonxslays commented
This actually is a bug seeing as how the argument that was missed was not a parameter of the command, but of a function inside the command. Thanks for the report.