You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using the default HTML engine middleware. We want to return an error if a variable is not passed as a parameter.
It is possible to configure this behavior with a plain text/template package using the template.Option("missingkey=error") method here.
Is there a way to raise an error if there's no variable defined using Fiber's engine?
The text was updated successfully, but these errors were encountered:
Hello!
We're using the default HTML engine middleware. We want to return an error if a variable is not passed as a parameter.
It is possible to configure this behavior with a plain
text/template
package using thetemplate.Option("missingkey=error")
method here.Is there a way to raise an error if there's no variable defined using Fiber's engine?
The text was updated successfully, but these errors were encountered: