semi-public thought log of sorts

made this function and error handler

which i can wrap around any async function

and inside the function i can throw whatever error i want and return anything i want

and the errors are automatically managed by the errorHandler in the wrapper fn

and whatever data i send is automatically managed by the wrapper to either send as a telegram fn, web api response


Hosted on