16 #import "OFException.h"
18 #ifndef OF_HAVE_SOCKETS
19 # error No sockets available!
22 OF_ASSUME_NONNULL_BEGIN
39 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
id socket;
47 + (instancetype)exceptionWithSocket: (nullable
id)socket;
55 - (instancetype)initWithSocket: (nullable
id)socket OF_DESIGNATED_INITIALIZER;
An exception indicating an attempt to connect or bind an already connected or bound socket.
Definition: OFAlreadyConnectedException.h:32
The base class for all exceptions in ObjFW.
Definition: OFException.h:147