RSS3-Network / Node

In the vast RSS3 Network, the RSS3 Node delivers Open Information with efficiency, it is a steadfast cruiser in the byte-filled sea.
MIT License
22 stars 3 forks source link

Create a shared error package between Node and Global Indexer repository #347

Open HenryQW opened 2 months ago

HenryQW commented 2 months ago

What feature is it?

A shared error package between Node and Global Indexer

What problem does this feature solve?

Standardize the error messages and codes, and avoid duplicated code.

https://github.com/RSS3-Network/Node/tree/fd01039b28920eb457e692af717614c1672b4c14/common/http/response

https://github.com/RSS3-Network/Global-Indexer/tree/78b16aff860eec928b3e7afe37519118cbecdd79/internal/service/hub/model/errorx

Additional description

No response

This is not a duplicated feature request or new worker proposal