-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
up to 1.20 and Hold business error #345
Comments
Currently some users of Expr still use go1.13. We have unit tests there too. One way to get your own errors back: save errors in env struct’s field. |
Yes, It's a way. save it in env struct’s field instead of return it. The only problem is that users should change their writing habits. |
I also encountered a similar problem. |
What about adding WrappedError fields to file.Error? |
it's a good idea. I'll try it later. |
#352 |
Released! |
I find that my own error information of method and function turned to string, and I can't use it conveniently. The go 1.20 has the new function 'errors.Join' and I think the expr code about recover can modify like this
How about up to 1.20 and use the new feature ?
The text was updated successfully, but these errors were encountered: