pub const FileError = error ReadFailedDetailed diagnostics are found on the File.Reader struct.
WriteFailedSee the Writer implementation for detailed diagnostics.
EndOfStreamReached the end of the file being read.
UnimplementedIndicates the caller should do its own file reading; the callee cannot offer a more efficient implementation.
112
113
114
115
116
117
118
119
120
121
122pub const FileError = error{
/// Detailed diagnostics are found on the `File.Reader` struct.
ReadFailed,
/// See the `Writer` implementation for detailed diagnostics.
WriteFailed,
/// Reached the end of the file being read.
EndOfStream,
/// Indicates the caller should do its own file reading; the callee cannot
/// offer a more efficient implementation.
Unimplemented,
}