20 #import "OFException.h"
22 OF_ASSUME_NONNULL_BEGIN
40 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
id object;
45 @property (readonly, nonatomic)
int errNo;
54 + (instancetype)exceptionWithObject: (nullable
id)object errNo: (
int)errNo;
56 + (instancetype)exception OF_UNAVAILABLE;
65 - (instancetype)initWithObject: (nullable
id)object
66 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
68 - (instancetype)init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition: OFException.h:155
An exception indicating that setting an option for an object failed.
Definition: OFSetOptionFailedException.h:31
id object
The object for which the option could not be set.
Definition: OFSetOptionFailedException.h:40