@@ -57,21 +57,21 @@ */ + (instancetype)exceptionWithPath: (OFString *)path mode: (nullable OFString *)mode errNo: (int)errNo; -- init OF_UNAVAILABLE; +- (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated open item failed exception. * * @param path A string with the path of the item which could not be opened * @param mode A string with the mode in which the item should have been opened * @param errNo The errno of the error that occurred * @return An initialized open item failed exception */ -- initWithPath: (OFString *)path - mode: (nullable OFString *)mode - errNo: (int)errNo OF_DESIGNATED_INITIALIZER; +- (instancetype)initWithPath: (OFString *)path + mode: (nullable OFString *)mode + errNo: (int)errNo OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END