pub const PathNameError = error NameTooLongReturned when an insufficient buffer is provided that cannot fit the path name.
BadPathNameFile system cannot encode the requested file name bytes. Could be due to invalid WTF-8 on Windows, invalid UTF-8 on WASI, invalid characters on Windows, etc. Filesystem and operating specific.
401
402
403
404
405
406
407
408
409pub const PathNameError = error{
/// Returned when an insufficient buffer is provided that cannot fit the
/// path name.
NameTooLong,
/// File system cannot encode the requested file name bytes.
/// Could be due to invalid WTF-8 on Windows, invalid UTF-8 on WASI,
/// invalid characters on Windows, etc. Filesystem and operating specific.
BadPathName,
}