Source code for services.users.exceptions
[docs]
class AlreadyFollowingUserException(Exception):
"""
Raised when a user attempts to follow a user that they are already following.
"""
[docs]
class NotFollowingUserException(Exception):
"""
Raised when a user attempts to unfollow a user that they are not following.
"""