20#import "OFException.h"
23OF_ASSUME_NONNULL_BEGIN
33 id <OFLocking> _Nullable _lock;
41@property OF_NULLABLE_PROPERTY (readonly, nonatomic) id <OFLocking>
lock;
46@property (readonly, nonatomic)
int errNo;
55+ (instancetype)exceptionWithLock: (nullable
id <OFLocking>)lock
65- (instancetype)initWithLock: (nullable
id <OFLocking>)lock
66 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition OFException.h:155
An exception indicating that unlocking a lock failed.
Definition OFUnlockFailedException.h:32
id< OFLocking > lock
The lock which could not be unlocked.
Definition OFUnlockFailedException.h:41