34 BuildNotificationPath,
41 WindowsWaitForSingleObject,
42 LinuxCreateShutdownPipe,
43 LinuxInitializeInotify,
44 LinuxWriteShutdownPipe,
45 LinuxInotifyDescriptor,
48 LinuxAddSubdirectoryWatch,
49 LinuxOpenRootDirectory,
50 LinuxWatchHandleCapacity,
51 LinuxPendingDirectoryCapacity,
52 LinuxRelativePathStorage,
54 AppleCreateRunLoopSource,
55 AppleAllocateWatchPaths,
56 AppleCreateWatchPathString,
57 AppleCreateWatchPathsArray,
58 AppleCreateEventStream,
59 AppleStartEventStream,
61 WindowsSubmitDirectoryChanges,
75 uint32_t nativeError = 0;
80 uint32_t nativeError = 0)
81 : result(Result::Error(FileSystemWatcherResultCategory, error)), detail(detail), nativeError(nativeError)
85 template <
typename ResultLike>
89 explicit constexpr operator bool()
const {
return static_cast<bool>(result); }
91 constexpr operator Result()
const {
return result; }
93 constexpr Result toResult()
const {
return result; }
96 return result.isError(FileSystemWatcherResultCategory, error);
FileSystemWatcherErrorDetail
Stable backend stages retained as context for a FileSystemWatcher failure.
Definition FileSystemWatcherError.h:30