Adjust to recent ObjFW changes

FossilOrigin-Name: fc8e42990e7f6476b8b806521222620bbac0496c61a91b20f9e3787fc20fdbb4
This commit is contained in:
Jonathan Schleifer 2017-05-09 23:19:19 +00:00
parent 6d64ce5a68
commit ae918f26c4
12 changed files with 88 additions and 65 deletions

View file

@ -1,14 +1,18 @@
#import "PGException.h"
OF_ASSUME_NONNULL_BEGIN
@interface PGCommandFailedException: PGException
{
OFString *_command;
}
@property (readonly, copy) OFString *command;
@property (readonly, nonatomic) OFString *command;
+ (instancetype)exceptionWithConnection: (PGConnection*)connection
command: (OFString*)command;
- initWithConnection: (PGConnection*)connection
command: (OFString*)command;
+ (instancetype)exceptionWithConnection: (PGConnection *)connection
command: (OFString *)command;
- initWithConnection: (PGConnection *)connection
command: (OFString *)command;
@end
OF_ASSUME_NONNULL_END