Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

AccessError

Dir.AccessError
pub const AccessError = error

File

lib/std/Io/Dir.zig:411

Code

pub const AccessError = error{
    /// The requested `AccessOptions` would be denied to the file, or search
    /// permission is denied for one of the directories in the path prefix.
    AccessDenied,
    /// Write permission was requested but the file is immutable.
    PermissionDenied,
    FileNotFound,
    InputOutput,
    SystemResources,
    FileBusy,
    SymLinkLoop,
    ReadOnlyFileSystem,
} || PathNameError || Io.Cancelable || Io.UnexpectedError