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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org