Open Pitasi opened 1 month ago
As per https://docs.cosmos.network/main/build/building-modules/errors, our modules should register some error codes to follow best practices.
What we usually have right now are basic error messages and/or wrapping, e.g.: https://github.com/warden-protocol/wardenprotocol/blob/30b0751e5c9bd73ca2b02680576d80fb2f8cc502/warden/x/intent/keeper/msg_server_approve_action.go#L18-L20
it's spread across the entire x/intent and x/warden codebase.
As per https://docs.cosmos.network/main/build/building-modules/errors, our modules should register some error codes to follow best practices.
What we usually have right now are basic error messages and/or wrapping, e.g.: https://github.com/warden-protocol/wardenprotocol/blob/30b0751e5c9bd73ca2b02680576d80fb2f8cc502/warden/x/intent/keeper/msg_server_approve_action.go#L18-L20
it's spread across the entire x/intent and x/warden codebase.