Closed mzouink closed 9 months ago
@pattonw
To summarize in-person discussion: The case of a user passing in an incorrect padding mode should still raise an error, but we should make a more informative error message, rather than letting it fail upstream and raise a padding is Undefined error. Something like:
elif:
raise ValueError("Invalid padding mode %s provided. Must be 'constant' or 'reflect'." % self.mode)```
@cmalinmayor i set a more informative bug
Thanks @mzouink!
Pre-Merge Checklist:
vX.Y-dev
)patch-X.Y.Z
)