16 #import "OFException.h"
18 OF_ASSUME_NONNULL_BEGIN
37 @property (readonly, nonatomic)
OFURL *URL;
42 @property (readonly, nonatomic)
int errNo;
44 + (instancetype)exception OF_UNAVAILABLE;
53 + (instancetype)exceptionWithURL: (
OFURL *)URL errNo: (
int)errNo;
55 - (instancetype)init OF_UNAVAILABLE;
64 - (instancetype)initWithURL: (
OFURL *)URL
65 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
An exception indicating that removing an item failed.
Definition: OFRemoveItemFailedException.h:29
A class for parsing URLs and accessing parts of it.
Definition: OFURL.h:34