1234567891011121314151617181920212223module juptune.event.io;
enum IoError : int
{
///
none = 0,
/// A request timed out, or was cancelled.
timeout = 1,
/// The resource already exists (e.g. trying to create a file that already exists).
alreadyExists = 2,
/// Attempted to perform a file-only operation against a directory.
isDirectory = 3,
/// Attempted to perform a directory-only operation against a file.
notDirectory = 4,
/// Access was denied for any number of various reasons.
accessDenied = 5,
/// The resource wasn't found (e.g. trying to open a file that doesn't exist).
notFound = 6,
/// An incoming UDP packet was larger than the provided buffer. The extra bytes have been lost. This error is safe to recover from.
udpTruncated = 7,
/// An outgoing (usually UDP) packet was larger than is supported by the protocol/active MDU. This error is safe to recover from.
messageTooLarge = 8
}
Error helpers
A Resulterror enum.