16 #import "OFReadOrWriteFailedException.h" 18 OF_ASSUME_NONNULL_BEGIN
38 @property (readonly, nonatomic)
size_t bytesWritten;
51 + (instancetype)exceptionWithObject: (
id)object
52 requestedLength: (
size_t)requestedLength
53 bytesWritten: (
size_t)bytesWritten
56 + (instancetype)exceptionWithObject: (
id)object
57 requestedLength: (
size_t)requestedLength
58 errNo: (
int)errNo OF_UNAVAILABLE;
71 - (instancetype)initWithObject: (
id)object
72 requestedLength: (
size_t)requestedLength
73 bytesWritten: (
size_t)bytesWritten
74 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
76 - (instancetype)initWithObject: (
id)object
77 requestedLength: (
size_t)requestedLength
78 errNo: (
int)errNo OF_UNAVAILABLE;
An exception indicating that reading from or writing to an object failed.
Definition: OFReadOrWriteFailedException.h:27
An exception indicating that writing to an object failed.
Definition: OFWriteFailedException.h:26