ObjPgSQL  PGException.h at [2105581c29]

File src/exceptions/PGException.h artifact 5ee22db605 part of check-in 2105581c29


#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