-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Supports Result
for helper function
#512
Comments
This is possible by down-casting
|
The example answered my question. But it may be easier for me if:
Is this make sense for you as well? |
For helper returning I will add an example for this use case. |
You can still reuse this as an example of defining helper with API that exposes the |
In production code the helpers may returns error, we could returns the underlying error from helper when
render_template
.Below are some pseudo-code:
The text was updated successfully, but these errors were encountered: