17 #import "OFException.h" 18 #import "OFSeekableStream.h" 20 OF_ASSUME_NONNULL_BEGIN
43 @property (readonly, nonatomic) of_offset_t
offset;
48 @property (readonly, nonatomic)
int whence;
53 @property (readonly, nonatomic)
int errNo;
67 offset: (of_offset_t)offset
71 -
init OF_UNAVAILABLE;
83 offset: (of_offset_t)offset
85 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
int whence
Definition: OFSeekFailedException.h:48
OFSeekableStream * stream
Definition: OFSeekFailedException.h:38
id init()
Initializes an already allocated object.
Definition: OFObject.m:488
A stream that supports seeking.
Definition: OFSeekableStream.h:57
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
An exception indicating that seeking in a stream failed.
Definition: OFSeekFailedException.h:28
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250
of_offset_t offset
Definition: OFSeekFailedException.h:43
int errNo
Definition: OFSeekFailedException.h:53