22OF_ASSUME_NONNULL_BEGIN
47@property (readonly, nonatomic)
int errNo;
58+ (instancetype)exceptionWithPath: (
OFString *)path errNo: (
int)errNo;
70- (instancetype)initWithPath: (
OFString *)path
71 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
73- (instancetype)
init OF_UNAVAILABLE;
An exception indicating that changing the current directory path failed.
Definition OFChangeCurrentDirectoryFailedException.h:32
OFString * path
The path of the directory to which the current path could not be changed.
Definition OFChangeCurrentDirectoryFailedException.h:42
int errNo
The errno of the error that occurred.
Definition OFChangeCurrentDirectoryFailedException.h:47
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
A class for handling strings.
Definition OFString.h:143