Skip to content

Commit c8af6e0

Browse files
authored
doc: Update error type in delete_endpoint docstring (#1241)
1 parent 8226f90 commit c8af6e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def delete_endpoint(self):
796796
"""Delete an Amazon SageMaker ``Endpoint``.
797797
798798
Raises:
799-
ValueError: If the endpoint does not exist.
799+
botocore.exceptions.ClientError: If the endpoint does not exist.
800800
"""
801801
self._ensure_latest_training_job(error_message="Endpoint was not created yet")
802802
self.sagemaker_session.delete_endpoint(self.latest_training_job.name)

0 commit comments

Comments
 (0)