Skip to content

Commit d1ad6d8

Browse files
authored
resolve 404ing link in readme. (Azure#18236)
1 parent a5bd690 commit d1ad6d8

File tree

1 file changed

+2
-2
lines changed
  • sdk/cognitiveservices/azure-cognitiveservices-vision-computervision

1 file changed

+2
-2
lines changed

sdk/cognitiveservices/azure-cognitiveservices-vision-computervision/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ image.save('thumbnail.jpg')
238238

239239
### General
240240

241-
When you interact with the [ComputerVisionClient][ref_computervisionclient] client object using the Python SDK, the [`ComputerVisionErrorException`][ref_computervision_computervisionerrorexception] class is used to return errors. Errors returned by the service correspond to the same HTTP status codes returned for REST API requests.
241+
When you interact with the [ComputerVisionClient][ref_computervisionclient] client object using the Python SDK, the [`ComputerVisionErrorResponseException`][ref_computervision_computervisionerrorexception] class is used to return errors. Errors returned by the service correspond to the same HTTP status codes returned for REST API requests.
242242

243243
For example, if you try to analyze an image with an invalid key, a `401` error is returned. In the following snippet, the [error][ref_httpfailure] is handled gracefully by catching the exception and displaying additional information about the error.
244244

@@ -299,7 +299,7 @@ For more extensive documentation on the Computer Vision service, see the [Azure
299299
[pypi_pillow]:https://pypi.org/project/Pillow/
300300

301301
[ref_computervision_sdk]: https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision?view=azure-python
302-
[ref_computervision_computervisionerrorexception]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.models.computervisionerrorexception?view=azure-python
302+
[ref_computervision_computervisionerrorexception]:https://docs.microsoft.com/python/api/azure-cognitiveservices-vision-computervision/azure.cognitiveservices.vision.computervision.models.computervisionerrorresponseexception?view=azure-python
303303
[ref_httpfailure]: https://docs.microsoft.com/python/api/msrest/msrest.exceptions.httpoperationerror?view=azure-python
304304

305305

0 commit comments

Comments
 (0)