GroupNotFoundException
class GroupNotFoundException extends InvalidArgumentException (View source)
Thrown when a referenced user group does not exist.
Extends InvalidArgumentException so existing callers that catch that type keep working unchanged, while API controllers can catch this specific type first and return 404 instead of a generic 400/500.