aseprite / laf

A C++ library to create desktop applications
https://aseprite.github.io/laf/
MIT License
276 stars 60 forks source link

Error messages in fs_unix.h #43

Closed Delta2Force closed 1 year ago

Delta2Force commented 2 years ago

I agree that my contributions are licensed under the Laf license, and agree to future changes to the licensing.

I have simply added strerror to each function which throws an error to get a more detailed error message.

dacap commented 1 year ago

Thanks @Delta2Force, I'll merge this with some little correction e.g. keep using std::rename() as it is (or should be) defined in inside the std namespace.

dacap commented 1 year ago

Just merged https://github.com/aseprite/laf/commit/f9760fd243ff25b85f12e8b368a699aa222671ba, thanks for the contribution @Delta2Force 👍