22OF_ASSUME_NONNULL_BEGIN
40@property (readonly, nonatomic)
int errNo;
49+ (instancetype)exceptionWithErrNo: (
int)errNo;
60- (instancetype)initWithErrNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
62- (instancetype)
init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
An exception indicating that getting the current directory path failed.
Definition OFGetCurrentDirectoryFailedException.h:32
int errNo
The errno of the error that occurred.
Definition OFGetCurrentDirectoryFailedException.h:40
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696