16 #import "OFException.h" 18 OF_ASSUME_NONNULL_BEGIN
36 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
id object;
41 @property (readonly, nonatomic)
int errNo;
50 + (instancetype)exceptionWithObject: (nullable
id)object errNo: (
int)errNo;
52 + (instancetype)exception OF_UNAVAILABLE;
61 - (instancetype)initWithObject: (nullable
id)object
62 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
64 - (instancetype)init OF_UNAVAILABLE;
id object
The object for which the option could not be set.
Definition: OFSetOptionFailedException.h:36
The base class for all exceptions in ObjFW.
Definition: OFException.h:150
An exception indicating that setting an option for an object failed.
Definition: OFSetOptionFailedException.h:26