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
Some wrappers should fail when given a NULL-pointer to an object to wrap. In these cases, a NULL-pointer is often a programmer's error, so it is probably better to panic instead of returning an error.
Returning an error makes the API less convenient to use. On the other hand, it allows the crate's clients to perform a graceful shutdown.
The text was updated successfully, but these errors were encountered:
Some wrappers should fail when given a
NULL
-pointer to an object to wrap. In these cases, aNULL
-pointer is often a programmer's error, so it is probably better to panic instead of returning an error.Returning an error makes the API less convenient to use. On the other hand, it allows the crate's clients to perform a graceful shutdown.
The text was updated successfully, but these errors were encountered: