libfilezilla
|
Small class to return filesystem errors. More...
#include <fsresult.hpp>
Public Types | |
enum | error { ok , none = ok , invalid , noperm , nofile , nodir , nospace , other } |
typedef uint32_t | raw_t |
Public Member Functions | |
operator bool () const | |
Public Attributes | |
error | error_ {} |
raw_t | raw_ {} |
Small class to return filesystem errors.
Note that now all system errors are recognized in all situations, "other" is always a possible error value even if another category would fit better.
The raw error code isn't always available. If available, it is the value of errno/GetLastError() when the failure occurred.
enum error |