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

5 uses

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

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