Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加通用错误 #19

Open
Zekiee opened this issue Jan 29, 2024 · 0 comments
Open

增加通用错误 #19

Zekiee opened this issue Jan 29, 2024 · 0 comments

Comments

@Zekiee
Copy link

Zekiee commented Jan 29, 2024

现在如果要返回错误码给客户端似乎需要在每个pb message里面定义,是否可以在packet的head里面定一个1个bit(和心跳包类似),表示错误返回,里面带上code。这样可以在gate,或者任意一个node给客户端返回了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant