16 #import "OFReadOrWriteFailedException.h"
18 OF_ASSUME_NONNULL_BEGIN
37 @property (readonly, nonatomic)
size_t bytesWritten;
39 + (instancetype)exceptionWithObject: (
id)object
40 requestedLength: (
size_t)requestedLength
41 errNo: (
int)errNo OF_UNAVAILABLE;
54 + (instancetype)exceptionWithObject: (
id)object
55 requestedLength: (
size_t)requestedLength
56 bytesWritten: (
size_t)bytesWritten
59 - (instancetype)initWithObject: (
id)object
60 requestedLength: (
size_t)requestedLength
61 errNo: (
int)errNo OF_UNAVAILABLE;
74 - (instancetype)initWithObject: (
id)object
75 requestedLength: (
size_t)requestedLength
76 bytesWritten: (
size_t)bytesWritten
77 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
An exception indicating that reading from or writing to an object failed.
Definition: OFReadOrWriteFailedException.h:28
An exception indicating that writing to an object failed.
Definition: OFWriteFailedException.h:27