ObjPgSQL  PGException.h at [6307a38198]

File src/exceptions/PGException.h artifact 5ee22db605 part of check-in 6307a38198


#import <ObjFW/ObjFW.h>

#import "PGConnection.h"

OF_ASSUME_NONNULL_BEGIN

@interface PGException: OFException
{
	PGConnection *_connection;
	OFString *_error;
}

@property (readonly, nonatomic) PGConnection *connection;

+ (instancetype)exceptionWithConnection: (PGConnection *)connection;
- initWithConnection: (PGConnection *)connection;
@end

OF_ASSUME_NONNULL_END