17 #import "OFException.h" 19 OF_ASSUME_NONNULL_BEGIN
29 OFString *_sourcePath, *_destinationPath;
46 @property (readonly, nonatomic)
int errNo;
58 + (instancetype)exceptionWithSourcePath: (
OFString *)sourcePath
59 destinationPath: (
OFString *)destinationPath
62 -
init OF_UNAVAILABLE;
72 - initWithSourcePath: (
OFString *)sourcePath
73 destinationPath: (
OFString *)destinationPath
74 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
An exception indicating that copying a item failed.
Definition: OFCopyItemFailedException.h:27
A class for handling strings.
Definition: OFString.h:114
OFString * destinationPath
Definition: OFCopyItemFailedException.h:41
int errNo
Definition: OFCopyItemFailedException.h:46
id init()
Initializes an already allocated object.
Definition: OFObject.m:488
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250
OFString * sourcePath
Definition: OFCopyItemFailedException.h:36