Callbacks and errors
BaptisteMartinet opened this issue · comments
Baptiste Martinet commented
Why does the createEvent/createEvents functions take callbacks as argument? wouldn't it be easier if the function returned the string directly?
Also why does the function not throw errors instead of returning an error object? isn´t it the purpose of thowing errors?
Adam Gibbons commented
These were design decisions made early on that worked for my purposes.