Skip to content

Commit 9069488

Browse files
committed
Document delete exceptions
1 parent 990613d commit 9069488

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

spelling_private_dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ ImageTooLarge
44
MetadataTooLarge
55
ProjectInactive
66
TargetNameExist
7+
TargetStateProcessing
78
Ubuntu
89
UnknownTarget
910
api

src/vws/vws.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ def delete_target(self, target_id: str) -> None:
404404
example, the given access key does not match a known database.
405405
~vws.exceptions.UnknownTarget: The given target ID does not match a
406406
target in the database.
407+
~vws.exceptions.TargetStatusProcessing: The given target is in the
408+
processing state.
407409
"""
408410
self._make_request(
409411
method='DELETE',

0 commit comments

Comments
 (0)