For gopher, it's recommended to use https://pkg.go.dev/errors. But not home-made error code style. We should deprecate `code` and `xerrors`: - https://github.com/tableauio/loader/tree/master/test/go-tableau-loader/protoconf/loader/code - https://github.com/tableauio/loader/tree/master/test/go-tableau-loader/protoconf/loader/xerrors References: - https://pkg.go.dev/errors - https://gorm.io/docs/error_handling.html#Generics-API-1 - https://github.com/redis/go-redis?tab=readme-ov-file#quickstart
For gopher, it's recommended to use https://pkg.go.dev/errors. But not home-made error code style.
We should deprecate
codeandxerrors:References: