1 #ifndef LIBFILEZILLA_FSRESULT_HEADER
2 #define LIBFILEZILLA_FSRESULT_HEADER
8 #include "private/visibility.hpp"
58 typedef uint32_t raw_t;
63 explicit operator bool()
const {
return error_ == 0; }
83 typedef uint32_t raw_t;
110 explicit rwresult(
error e) =
delete;
112 explicit rwresult(
size_t value)
116 explicit operator bool()
const {
return error_ == 0; }
error
Definition: fsresult.hpp:88
Dynamic resource utilization, like too many open files.
Definition: fsresult.hpp:48
The operation would have blocked, but the file descriptor is marked non-blocking. ...
Definition: fsresult.hpp:98
error
Definition: fsresult.hpp:28
Out of disk space.
Definition: fsresult.hpp:95
Holds the result of read/write operations.
Definition: fsresult.hpp:79
Small class to return filesystem errors.
Definition: fsresult.hpp:25
raw_t raw_
Undefined if error_ is none.
Definition: fsresult.hpp:122
The namespace used by libfilezilla.
Definition: apply.hpp:17
Requested file does not exist or is not a file.
Definition: fsresult.hpp:39
File already exists when asked to explicitly create a new file.
Definition: fsresult.hpp:51
Requested dir does not exist or is not a dir.
Definition: fsresult.hpp:42
Invalid arguments, syntax error.
Definition: fsresult.hpp:33
Out of disk space (physical, or space quota)
Definition: fsresult.hpp:45
Invalid arguments, syntax error.
Definition: fsresult.hpp:92
Permission denied.
Definition: fsresult.hpp:36