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
I'm using libE57Format through pye57 and noticed that E57_ERROR_OPEN_FAILED is raised for any error, including standard cases such as:
no such file or directory
permission denied
too many open files
Most software can point out these error reasons by consulting errno (e.g. via strerror()), or at least guaranteeing in the API docs to not mess with errno so that the caller can inspect errno themselves.
It would be great if libE57Format could do one of these so that users can get much better error messages along with E57_ERROR_OPEN_FAILED.
The text was updated successfully, but these errors were encountered:
I'm using
libE57Format
through pye57 and noticed thatE57_ERROR_OPEN_FAILED
is raised for any error, including standard cases such as:no such file or directory
permission denied
too many open files
Most software can point out these error reasons by consulting
errno
(e.g. viastrerror()
), or at least guaranteeing in the API docs to not mess witherrno
so that the caller can inspecterrno
themselves.It would be great if
libE57Format
could do one of these so that users can get much better error messages along withE57_ERROR_OPEN_FAILED
.The text was updated successfully, but these errors were encountered: