Jan-06-2023, 04:13 AM
ValueError, because there is an error with the value, wrong length, not the type.
You can make your own exception classes.
You can make your own exception classes.
which exception should be thrown for a sequence of the wrong length?
|
|
Messages In This Thread |
which exception should be thrown for a sequence of the wrong length? - by Skaperen - Jan-06-2023, 03:34 AM
RE: which exception should be thrown for ... - by deanhystad - Jan-06-2023, 04:13 AM
|