@@ -60,11 +60,11 @@ */ + (instancetype)exceptionWithObject: (id)object requestedLength: (size_t)requestedLength errNo: (int)errNo; -- init OF_UNAVAILABLE; +- (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated read or write failed exception. * * @param object The object from which reading or to which writing failed @@ -71,11 +71,11 @@ * @param requestedLength The requested length of the data that could not be * read / written * @param errNo The errno of the error that occurred * @return A new open file failed exception */ -- initWithObject: (id)object - requestedLength: (size_t)requestedLength - errNo: (int)errNo OF_DESIGNATED_INITIALIZER; +- (instancetype)initWithObject: (id)object + requestedLength: (size_t)requestedLength + errNo: (int)errNo OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END