FossilOrigin-Name: 12b5ef483a1f9eae92df83cf8a6aded299ef10dd2972059a36c79d299e676a0d
18 lines
390 B
Objective-C
18 lines
390 B
Objective-C
#import <ObjFW/ObjFW.h>
|
|
|
|
#import "PGConnection.h"
|
|
|
|
@interface PGException: OFException
|
|
{
|
|
PGConnection *_connection;
|
|
OFString *_error;
|
|
}
|
|
|
|
#ifdef OF_HAVE_PROPERTIES
|
|
@property (readonly, retain, nonatomic) PGConnection *connection;
|
|
#endif
|
|
|
|
+ (instancetype)exceptionWithConnection: (PGConnection*)connection;
|
|
- initWithConnection: (PGConnection*)connection;
|
|
- (PGConnection*)connection;
|
|
@end
|