35 BuildNotificationPath,
42 WindowsWaitForSingleObject,
43 PosixCreateShutdownPipe,
45 PosixWriteShutdownPipe,
49 InotifyAddSubdirectoryWatch,
50 InotifyOpenRootDirectory,
51 InotifyWatchHandleCapacity,
52 InotifyPendingDirectoryCapacity,
53 InotifyRelativePathStorage,
55 AppleCreateRunLoopSource,
56 AppleAllocateWatchPaths,
57 AppleCreateWatchPathString,
58 AppleCreateWatchPathsArray,
59 AppleCreateEventStream,
60 AppleStartEventStream,
62 WindowsSubmitDirectoryChanges,
63 AppleOpenRootDirectory,
64 WindowsQueryRootDirectory,
65 InotifyOpenDirectoryStream,
66 InotifyReadDirectoryEntries,
67 InotifyInspectDirectoryEntry,
68 InotifyOpenSubdirectory,
71 InotifyWatchInvalidated,
72 AppleResolveWatchRoot,
73 AppleWatchInvalidated,
74 WindowsCompleteDirectoryChanges,
75 WindowsCreateWatchEvent,
76 WindowsSignalWatchEvent,
77 WindowsWaitForWatchEvents,
78 WindowsCancelDirectoryChanges,
79 InotifyVerifyDirectoryIdentity,
93 uint32_t nativeError = 0;
98 uint32_t nativeError = 0)
99 : result(Result::Error(FileSystemWatcherResultCategory, error)), detail(detail), nativeError(nativeError)
103 template <
typename ResultLike>
107 explicit constexpr operator bool()
const {
return static_cast<bool>(result); }
109 constexpr operator Result()
const {
return result; }
111 constexpr Result toResult()
const {
return result; }
114 return result.isError(FileSystemWatcherResultCategory, error);
FileSystemWatcherErrorDetail
Stable backend stages retained as context for a FileSystemWatcher failure.
Definition FileSystemWatcherError.h:31