Python: Except block capturing exception that is not listed for block
Python: Except block capturing exception that is not listed for block Question: I have a function that makes a request to AWS using boto3, and I wish to capture any exceptions and raise one of two custom errors, depending on the botocore.exceptions exception that is returned. I thought I had this working, but an except …