Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide error also in sendMessage completion instead of throwing it #6

Open
sgoehler opened this issue Mar 21, 2023 · 0 comments
Open

Comments

@sgoehler
Copy link

Hey, first of, thanks for making this API possible!
I have a request, as I'm using your API with an ObjC wrapper (it's too Swifty to use it directly, unfortunately).

The issue is that the method sendMessage throws the error, which is almost impossible to wrap properly. It would be much more convenient to handle the result in a completion closure with both optional result and error provided. Do you think this can be made possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant