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
An exception indicating that getting an option for an object failed.
Definition OFGetOptionFailedException.h:30
int errNo
The errno of the error that occurred.
Definition OFGetOptionFailedException.h:44
id object
The object for which the option could not be retrieved.
Definition OFGetOptionFailedException.h:39
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696