You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation on the C API should also include error handling because there are too many ways to imagine how it works. If a procedure returns nix_err I don't know if that means without a context it will just throw an exception, and if a context is set I don't know if the context will carry the same error as the one returned.
Perhaps it would be useful to handler errors at a context using a callback? This would allow bindings to throw errors as their own native exceptions.
The text was updated successfully, but these errors were encountered:
The documentation on the C API should also include error handling because there are too many ways to imagine how it works. If a procedure returns
nix_err
I don't know if that means without a context it will just throw an exception, and if a context is set I don't know if the context will carry the same error as the one returned.Perhaps it would be useful to handler errors at a context using a callback? This would allow bindings to throw errors as their own native exceptions.
The text was updated successfully, but these errors were encountered: