Skip to content
New issue

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

orm return err ideas #3736

Closed
swift-fs opened this issue Aug 19, 2024 · 0 comments
Closed

orm return err ideas #3736

swift-fs opened this issue Aug 19, 2024 · 0 comments

Comments

@swift-fs
Copy link
Contributor

Description

I have an idea: For the err returned by gdb/orm, perform a wrap: gerror.wrap(err, 'database option error'), and the upper-level business can conveniently use gerrors.is(xx, xxxx) in the middleware to determine whether it is a database error.

Additional

No response

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant