22OF_ASSUME_NONNULL_BEGIN
34 size_t _requestedLength;
42@property (readonly, nonatomic)
id object;
47@property (readonly, nonatomic)
size_t requestedLength;
52@property (readonly, nonatomic)
int errNo;
54+ (instancetype)exception OF_UNAVAILABLE;
65+ (instancetype)exceptionWithObject: (
id)object
66 requestedLength: (
size_t)requestedLength
69- (instancetype)init OF_UNAVAILABLE;
80- (instancetype)initWithObject: (
id)object
81 requestedLength: (
size_t)requestedLength
82 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
An exception indicating that reading from or writing to an object failed.
Definition OFReadOrWriteFailedException.h:32