Artifact 957225003644cd33c2776a42b5010f540199d78f182e1bdb2cf55b5973759a3f:
- File exceptions/PGException.h — part of check-in [12b5ef483a] at 2013-07-23 14:11:42 on branch trunk — Improve exceptions. (user: js, size: 390) [annotate] [blame] [check-ins using]
- File src/exceptions/PGException.h — part of check-in [8679c61b2c] at 2014-07-18 23:35:18 on branch trunk — Add a proper build system (user: js, size: 390) [annotate] [blame] [check-ins using]
#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