Improved mtproto errors handling