yggdrasil/lib/abi/def/error.abi

33 lines
730 B
Plaintext

// vi:syntax=yggdrasil_abi:
enum Error(u32) {
OutOfMemory = 1,
AlreadyExists = 2,
NotImplemented = 3,
DoesNotExist = 4,
InvalidFile = 5,
InvalidArgument = 6,
Interrupted = 7,
WouldBlock = 8,
UnrecognizedExecutable = 9,
InvalidOperation = 10,
InvalidMemoryOperation = 11,
NotADirectory = 12,
IsADirectory = 13,
ReadOnly = 14,
PermissionDenied = 15,
AddrInUse = 16,
QueueFull = 17,
BufferTooSmall = 18,
ConnectionReset = 19,
MissingData = 20,
NetworkUnreachable = 21,
TimedOut = 22,
ConnectionRefused = 23,
HostUnreachable = 24,
UndefinedSyscall = 25,
DirectoryNotEmpty = 26,
NotConnected = 27,
ProcessNotFound = 28,
}