Re:Telefunc: Remote Functions instead of API
by brillout on Sunday October 02, 2022 @06:13AM
(#33054597)
The frontend-side also throws an error. `throw Abort()` is about protecting telefunctions from third parties. It shouldn't be used to implement business logic (simply use `return` instead).
Samen => Neat :-).
Re:Telefunc: Remote Functions instead of API
by jasperpressplay on Sunday October 02, 2022 @12:25PM
(#33057392)
Samen can throw errors on the server that can be caught on the client. Is that possible with telefunctions?
How are errors handled though? What happens when you “throw Abort()”.
https://github.com/samen-io/samen