Artifact 5ee22db605d9beab00414631bb0f3bce38fb873177a36f24b4f096f236d629f8:
- File src/exceptions/PGException.h — part of check-in [fc8e42990e] at 2017-05-09 23:19:20 on branch trunk — Adjust to recent ObjFW changes (user: js, size: 370) [annotate] [blame] [check-ins using]
#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