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
Interesting work. I am also playing around with this idea.
but i have problem when implement try catch on function with return value
i got error cannot use func literal (type func() revel.Result) as type func(
I am using the try catch within a function that returns value like this, but still got the error:
Interesting work. I am also playing around with this idea.
but i have problem when implement try catch on function with return value
i got error
cannot use func literal (type func() revel.Result) as type func(
I am using the try catch within a function that returns value like this, but still got the error:
func (c ToDo) Show(todo int) revel.Result { try.This(func() { panic("my panic") return c.RenderJSON("test") }).Catch(func(e try.E) { // Print crash return c.RenderJSON(e) }) }
is it done in wrong way?
The text was updated successfully, but these errors were encountered: