Content pfp
Content
@
0 reply
0 recast
0 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
Is it possible to return Error Message's in Frog? when I try to do it manually I get type errors. Nothing in docs FramesJS reference: https://framesjs.org/reference/core/error Spec Reference in Image attached. Need to return error messages on app.transaction() calls so user knows what is going on. Thanks cc @awkweb
3 replies
0 recast
2 reactions

Vladyslav Dalechyn pfp
Vladyslav Dalechyn
@dalechyn.eth
yep-yep! you can use `c.error(...)` in transaction, frame and cast action handlers. https://frog.fm/reference/frog-transaction-context#error
1 reply
0 recast
0 reaction

Vladyslav Dalechyn pfp
Vladyslav Dalechyn
@dalechyn.eth
probably there is a need for a separate error handling page that would explain that.
1 reply
0 recast
2 reactions

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
didn't find that page via search and expected it in the response section of the docs since I am responding with an error. Thank you Search results attached
0 reply
0 recast
1 reaction