Skip to content

Commit c9f783c

Browse files
committed
Make InvalidArgument a ValueError
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 33681cf commit c9f783c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/client/microgrid/_exception.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def __init__(
200200
)
201201

202202

203-
class InvalidArgument(GrpcStatusError):
203+
class InvalidArgument(GrpcStatusError, ValueError):
204204
"""The client specified an invalid argument.
205205
206206
Note that this error differs from

0 commit comments

Comments
 (0)