26OF_ASSUME_NONNULL_BEGIN
28@class OFArray OF_GENERIC(ObjectType);
32#define OFStackTraceSize 16
34#if defined(OF_WINDOWS) && defined(OF_HAVE_SOCKETS)
36# define EADDRINUSE WSAEADDRINUSE
39# define EADDRNOTAVAIL WSAEADDRNOTAVAIL
42# define EAFNOSUPPORT WSAEAFNOSUPPORT
45# define EALREADY WSAEALREADY
48# define ECONNABORTED WSAECONNABORTED
51# define ECONNREFUSED WSAECONNREFUSED
54# define ECONNRESET WSAECONNRESET
57# define EDESTADDRREQ WSAEDESTADDRREQ
60# define EDQUOT WSAEDQUOT
63# define EHOSTDOWN WSAEHOSTDOWN
66# define EHOSTUNREACH WSAEHOSTUNREACH
69# define EINPROGRESS WSAEINPROGRESS
72# define EISCONN WSAEISCONN
75# define ELOOP WSAELOOP
78# define EMSGSIZE WSAEMSGSIZE
81# define ENETDOWN WSAENETDOWN
84# define ENETRESET WSAENETRESET
87# define ENETUNREACH WSAENETUNREACH
90# define ENOBUFS WSAENOBUFS
93# define ENOPROTOOPT WSAENOPROTOOPT
96# define ENOTCONN WSAENOTCONN
99# define ENOTSOCK WSAENOTSOCK
102# define EOPNOTSUPP WSAEOPNOTSUPP
105# define EPFNOSUPPORT WSAEPFNOSUPPORT
108# define EPROCLIM WSAEPROCLIM
110# ifndef EPROTONOSUPPORT
111# define EPROTONOSUPPORT WSAEPROTONOSUPPORT
114# define EPROTOTYPE WSAEPROTOTYPE
117# define EREMOTE WSAEREMOTE
120# define ESHUTDOWN WSAESHUTDOWN
122# ifndef ESOCKTNOSUPPORT
123# define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
126# define ESTALE WSAESTALE
129# define ETIMEDOUT WSAETIMEDOUT
132# define ETOOMANYREFS WSAETOOMANYREFS
135# define EUSERS WSAEUSERS
138# define EWOULDBLOCK WSAEWOULDBLOCK
143# define EWOULDBLOCK EAGAIN
156 void *_stackTrace[OFStackTraceSize];
165+ (instancetype)exception;
195extern OFString *OFStrError(
int errNo);
197extern OFString *OFWindowsStatusToString(LSTATUS status);
An abstract class for storing objects in an array.
Definition OFArray.h:109
The base class for all exceptions in ObjFW.
Definition OFException.h:155
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
A class for handling strings.
Definition OFString.h:139
A class for storing arbitrary values in an object.
Definition OFValue.h:29