22OF_ASSUME_NONNULL_BEGIN
39@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
id object;
44@property (readonly, nonatomic)
int errNo;
53+ (instancetype)exceptionWithObject: (nullable
id)object errNo: (
int)errNo;
64- (instancetype)initWithObject: (nullable
id)object
65 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
67- (instancetype)
init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
An exception indicating that setting an option for an object failed.
Definition OFSetOptionFailedException.h:30
id object
The object for which the option could not be set.
Definition OFSetOptionFailedException.h:39
int errNo
The errno of the error that occurred.
Definition OFSetOptionFailedException.h:44