Skip to content

Commit

Permalink
Improve UnknownAPIVersionError exception message (#3955)
Browse files Browse the repository at this point in the history
  • Loading branch information
alencar authored Nov 29, 2023
1 parent 5cf793f commit 5d80bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boto3/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class UnknownAPIVersionError(
):
def __init__(self, service_name, bad_api_version, available_api_versions):
msg = (
f"The '{service_name}' resource does not an API version of: {bad_api_version}\n"
f"The '{service_name}' resource does not support an API version of: {bad_api_version}\n"
f"Valid API versions are: {available_api_versions}"
)
# Not using super because we don't want the DataNotFoundError
Expand Down

0 comments on commit 5d80bae

Please sign in to comment.