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:156
An exception indicating that getting an option for an object failed.
Definition: OFGetOptionFailedException.h:30