Hacker News new | past | comments | ask | show | jobs | submit login

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




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 :-).


Samen can throw errors on the server that can be caught on the client. Is that possible with telefunctions?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: