eschutho commented on code in PR #24839:
URL: https://github.com/apache/superset/pull/24839#discussion_r1303514623
##########
superset/tags/exceptions.py:
##########
@@ -27,3 +29,11 @@ def __init__(self) -> None:
super().__init__(
[_("Tag name is invalid (cannot contain ':')")], field_name="name"
)
+
+
+class TagUpdateFailedError(UpdateFailedError):
+ message = _("Tag could not be updated.")
+
+
+class TagNotFoundError(CommandException):
+ message = _("Tag could not be found.")
Review Comment:
while you're here, can you add
`status = 404`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]