16#import "OFException.h"
18OF_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;
The base class for all exceptions in ObjFW.
Definition OFException.h:151
An exception indicating that setting an option for an object failed.
Definition OFSetOptionFailedException.h:27
id object
The object for which the option could not be set.
Definition OFSetOptionFailedException.h:36