Source code for services.posts.exceptions

[docs] class AlreadyLikedPostException(Exception): """ Post already liked by user """
[docs] class UserNotLikeThisPostException(Exception): """ User not Like this post """
[docs] class TooManyLinkedMediaException(Exception): """ Post contains more media than allowed by the limits. """
[docs] class TooManyCategoriesException(Exception): """ Post contains more categories than allowed by the limits. """
[docs] class CategoriesDontExistException(Exception): """ Selected categories for post are don't exist or unavailable """
[docs] class PostUnavailableForCommentingException(Exception): """ Selected categories for post are don't exist or unavailable """
[docs] class AlreadyAddedToFavoritesException(Exception): """ Post already added to favorites by user """
[docs] class UserNotHasThisPostInFavoritesException(Exception): """ User not doesn't have this post in favorites list """
[docs] class CommentLimitImageException(Exception): """ Comment has limit on images """