14 lines
291 B
Python
14 lines
291 B
Python
"""Custom exceptions for group handlers"""
|
|
|
|
|
|
class NoReplyToMessageError(Exception):
|
|
"""Raised when admin tries to reply without selecting a message"""
|
|
|
|
pass
|
|
|
|
|
|
class UserNotFoundError(Exception):
|
|
"""Raised when user is not found in database for the given message_id"""
|
|
|
|
pass
|