File exceptions/PGException.h artifact adaf1d5292 part of check-in cbc15fadc1
#import <ObjFW/ObjFW.h> #import "PGConnection.h" @interface PGException: OFException { PGConnection *connection; } #ifdef OF_HAVE_PROPERTIES @property (readonly, retain, nonatomic) PGConnection *connection; #endif + exceptionWithClass: (Class)class_ connection: (PGConnection*)connection; - initWithClass: (Class)class_ connection: (PGConnection*)connection; - (PGConnection*)connection; @end