topfreegames / pitaya

Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
MIT License
2.37k stars 480 forks source link

feat: customize error codec #422

Open pipiaha opened 1 month ago

pipiaha commented 1 month ago

This pull request introduces a new ErrorWrapper interface and its default implementation to handle error serialization and deserialization more effectively. The changes impact multiple files, primarily focusing on the serialize package and its integration with the Builder struct.

Error Handling Improvements:

Builder Enhancements:

Dependency Updates:

also see #371