26 OF_ASSUME_NONNULL_BEGIN
30 @class OFArray OF_GENERIC(ObjectType);
34 #define OFStackTraceSize 16 36 #if defined(OF_WINDOWS) && defined(OF_HAVE_SOCKETS) 38 # define EADDRINUSE WSAEADDRINUSE 40 # ifndef EADDRNOTAVAIL 41 # define EADDRNOTAVAIL WSAEADDRNOTAVAIL 44 # define EAFNOSUPPORT WSAEAFNOSUPPORT 47 # define EALREADY WSAEALREADY 50 # define ECONNABORTED WSAECONNABORTED 53 # define ECONNREFUSED WSAECONNREFUSED 56 # define ECONNRESET WSAECONNRESET 59 # define EDESTADDRREQ WSAEDESTADDRREQ 62 # define EDQUOT WSAEDQUOT 65 # define EHOSTDOWN WSAEHOSTDOWN 68 # define EHOSTUNREACH WSAEHOSTUNREACH 71 # define EINPROGRESS WSAEINPROGRESS 74 # define EISCONN WSAEISCONN 77 # define ELOOP WSAELOOP 80 # define EMSGSIZE WSAEMSGSIZE 83 # define ENETDOWN WSAENETDOWN 86 # define ENETRESET WSAENETRESET 89 # define ENETUNREACH WSAENETUNREACH 92 # define ENOBUFS WSAENOBUFS 95 # define ENOPROTOOPT WSAENOPROTOOPT 98 # define ENOTCONN WSAENOTCONN 101 # define ENOTSOCK WSAENOTSOCK 104 # define EOPNOTSUPP WSAEOPNOTSUPP 106 # ifndef EPFNOSUPPORT 107 # define EPFNOSUPPORT WSAEPFNOSUPPORT 110 # define EPROCLIM WSAEPROCLIM 112 # ifndef EPROTONOSUPPORT 113 # define EPROTONOSUPPORT WSAEPROTONOSUPPORT 116 # define EPROTOTYPE WSAEPROTOTYPE 119 # define EREMOTE WSAEREMOTE 122 # define ESHUTDOWN WSAESHUTDOWN 124 # ifndef ESOCKTNOSUPPORT 125 # define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT 128 # define ESTALE WSAESTALE 131 # define ETIMEDOUT WSAETIMEDOUT 133 # ifndef ETOOMANYREFS 134 # define ETOOMANYREFS WSAETOOMANYREFS 137 # define EUSERS WSAEUSERS 140 # define EWOULDBLOCK WSAEWOULDBLOCK 145 # define EWOULDBLOCK EAGAIN 158 void *_stackTrace[OFStackTraceSize];
167 + (instancetype)exception;
211 extern OFString *_OFWindowsStatusToString(LSTATUS status) OF_VISIBILITY_HIDDEN;
217 OF_ASSUME_NONNULL_END
An abstract class for storing objects in an array.
Definition: OFArray.h:107
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
A class for handling strings.
Definition: OFString.h:142
OFString * OFStrError(int errNo)
Converts the specified error number (from <errno.h>) to a string.
Definition: OFException.m:90
The base class for all exceptions in ObjFW.
Definition: OFException.h:156
A class for storing arbitrary values in an object.
Definition: OFValue.h:29