github.com/gotd/td/internal/rpc.Engine.NotifyError (method)

4 uses

	github.com/gotd/td/internal/rpc (current package)
		engine.go#L249: func (e *Engine) NotifyError(msgID int64, rpcErr error) {

	github.com/gotd/td/internal/mtproto
		handle_bad_msg.go#L55: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode})
		handle_bad_msg.go#L63: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode, NewSalt: bad.NewServerSalt})
		handle_result.go#L57: 		c.rpc.NotifyError(res.RequestMessageID, tgerr.New(rpcErr.ErrorCode, rpcErr.ErrorMessage))