Skip to content

Commit a032137

Browse files
committed
Update error type
1 parent 3edf253 commit a032137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

planet/order_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def composite_tool(group_by: Optional[str] = None) -> dict:
387387
dict: A dictionary representing the composite tool configuration.
388388
"""
389389
if group_by and group_by not in ["order", "strip_id"]:
390-
raise ValueError(
390+
raise ClientError(
391391
f"Invalid group_by value: {group_by}. Must be 'order' or 'strip_id'."
392392
)
393393

0 commit comments

Comments
 (0)