22OF_ASSUME_NONNULL_BEGIN
24@class OFArray OF_GENERIC(ObjectType);
28#define OFStackTraceSize 16
30#if defined(OF_WINDOWS) && defined(OF_HAVE_SOCKETS)
32# define EADDRINUSE WSAEADDRINUSE
35# define EADDRNOTAVAIL WSAEADDRNOTAVAIL
38# define EAFNOSUPPORT WSAEAFNOSUPPORT
41# define EALREADY WSAEALREADY
44# define ECONNABORTED WSAECONNABORTED
47# define ECONNREFUSED WSAECONNREFUSED
50# define ECONNRESET WSAECONNRESET
53# define EDESTADDRREQ WSAEDESTADDRREQ
56# define EDQUOT WSAEDQUOT
59# define EHOSTDOWN WSAEHOSTDOWN
62# define EHOSTUNREACH WSAEHOSTUNREACH
65# define EINPROGRESS WSAEINPROGRESS
68# define EISCONN WSAEISCONN
71# define ELOOP WSAELOOP
74# define EMSGSIZE WSAEMSGSIZE
77# define ENETDOWN WSAENETDOWN
80# define ENETRESET WSAENETRESET
83# define ENETUNREACH WSAENETUNREACH
86# define ENOBUFS WSAENOBUFS
89# define ENOPROTOOPT WSAENOPROTOOPT
92# define ENOTCONN WSAENOTCONN
95# define ENOTSOCK WSAENOTSOCK
98# define EOPNOTSUPP WSAEOPNOTSUPP
101# define EPFNOSUPPORT WSAEPFNOSUPPORT
104# define EPROCLIM WSAEPROCLIM
106# ifndef EPROTONOSUPPORT
107# define EPROTONOSUPPORT WSAEPROTONOSUPPORT
110# define EPROTOTYPE WSAEPROTOTYPE
113# define EREMOTE WSAEREMOTE
116# define ESHUTDOWN WSAESHUTDOWN
118# ifndef ESOCKTNOSUPPORT
119# define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
122# define ESTALE WSAESTALE
125# define ETIMEDOUT WSAETIMEDOUT
128# define ETOOMANYREFS WSAETOOMANYREFS
131# define EUSERS WSAEUSERS
134# define EWOULDBLOCK WSAEWOULDBLOCK
139# define EWOULDBLOCK EAGAIN
152 void *_stackTrace[OFStackTraceSize];
161+ (instancetype)exception;
191extern OFString *OFStrError(
int errNo);
193extern OFString *OFWindowsStatusToString(LSTATUS status);
An abstract class for storing objects in an array.
Definition OFArray.h:105
The base class for all exceptions in ObjFW.
Definition OFException.h:151
The root class for all other classes inside ObjFW.
Definition OFObject.h:688
A class for handling strings.
Definition OFString.h:135
A class for storing arbitrary values in an object.
Definition OFValue.h:25