We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I’d like to allow library users to distinguish user caused errors and library or rpc caused errors. This allows for better error handling by the user.
For example, in go-sql-driver/mysql, errors are defined by variables. https://github.com/go-sql-driver/mysql/blob/ad9fa14acdcf7d0533e7fbe58728f3d216213ade/errors.go#L18-L31
In addition, complex ones are expressed by defining dedicated types. https://github.com/go-sql-driver/mysql/blob/ad9fa14acdcf7d0533e7fbe58728f3d216213ade/errors.go#L57-L62
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I’d like to allow library users to distinguish user caused errors and library or rpc caused errors.
This allows for better error handling by the user.
For example, in go-sql-driver/mysql, errors are defined by variables.
https://github.com/go-sql-driver/mysql/blob/ad9fa14acdcf7d0533e7fbe58728f3d216213ade/errors.go#L18-L31
In addition, complex ones are expressed by defining dedicated types.
https://github.com/go-sql-driver/mysql/blob/ad9fa14acdcf7d0533e7fbe58728f3d216213ade/errors.go#L57-L62
The text was updated successfully, but these errors were encountered: