RPCError

exception pyrogram.RPCError(x: int = None, query_type: type = None)

This is the base exception class for all Telegram API related errors. For a finer grained control, see the specific errors below.