19 OF_ASSUME_NONNULL_BEGIN
21 @class OFArray OF_GENERIC(ObjectType);
25 #define OF_BACKTRACE_SIZE 32 27 #if defined(OF_WINDOWS) && defined(OF_HAVE_SOCKETS) 29 # define EADDRINUSE WSAEADDRINUSE 31 # ifndef EADDRNOTAVAIL 32 # define EADDRNOTAVAIL WSAEADDRNOTAVAIL 35 # define EAFNOSUPPORT WSAEAFNOSUPPORT 38 # define EALREADY WSAEALREADY 41 # define ECONNABORTED WSAECONNABORTED 44 # define ECONNREFUSED WSAECONNREFUSED 47 # define ECONNRESET WSAECONNRESET 50 # define EDESTADDRREQ WSAEDESTADDRREQ 53 # define EDQUOT WSAEDQUOT 56 # define EHOSTDOWN WSAEHOSTDOWN 59 # define EHOSTUNREACH WSAEHOSTUNREACH 62 # define EINPROGRESS WSAEINPROGRESS 65 # define EISCONN WSAEISCONN 68 # define ELOOP WSAELOOP 71 # define EMSGSIZE WSAEMSGSIZE 74 # define ENETDOWN WSAENETDOWN 77 # define ENETRESET WSAENETRESET 80 # define ENETUNREACH WSAENETUNREACH 83 # define ENOBUFS WSAENOBUFS 86 # define ENOPROTOOPT WSAENOPROTOOPT 89 # define ENOTCONN WSAENOTCONN 92 # define ENOTSOCK WSAENOTSOCK 95 # define EOPNOTSUPP WSAEOPNOTSUPP 98 # define EPFNOSUPPORT WSAEPFNOSUPPORT 101 # define EPROCLIM WSAEPROCLIM 103 # ifndef EPROTONOSUPPORT 104 # define EPROTONOSUPPORT WSAEPROTONOSUPPORT 107 # define EPROTOTYPE WSAEPROTOTYPE 110 # define EREMOTE WSAEREMOTE 113 # define ESHUTDOWN WSAESHUTDOWN 115 # ifndef ESOCKTNOSUPPORT 116 # define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT 119 # define ESTALE WSAESTALE 122 # define ETIMEDOUT WSAETIMEDOUT 124 # ifndef ETOOMANYREFS 125 # define ETOOMANYREFS WSAETOOMANYREFS 128 # define EUSERS WSAEUSERS 131 # define EWOULDBLOCK WSAEWOULDBLOCK 145 void *_backtrace[OF_BACKTRACE_SIZE];
174 extern OFString *of_strerror(
int errNo);
179 OF_ASSUME_NONNULL_END
OFString * description()
Returns a description of the exception.
Definition: OFException.m:270
nullable OFArray * backtrace()
Returns a backtrace of when the exception was created or nil if no backtrace is available.
Definition: OFException.m:276
A class for handling strings.
Definition: OFString.h:114
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
The root class for all other classes inside ObjFW.
Definition: OFObject.h:379
An abstract class for storing objects in an array.
Definition: OFArray.h:89
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250
An abstract class for storing, adding and removing objects in an array.
Definition: OFMutableArray.h:40