3 ms·
Whoa, that’s so similar to our project [1] it’s almost scary :) How are errors handled though? What happens when you “throw Abort()”. https://github.com/samen
by kamilafsar 4y ago
Whoa, that’s so similar to our project [1] it’s almost scary :)
How are errors handled though? What happens when you “throw Abort()”.
https://github.com/samen-io/samen https://github.com/samen-io/samen
- brillout 4y agoThe 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 :-).
- jasperpressplay 4y agoSamen can throw errors on the server that can be caught on the client. Is that possible with telefunctions?