aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnection.h')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnection.h b/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
index 20260818..51a6f9e5 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
@@ -23,6 +23,7 @@
#import "FLXPostgresTypeHandlerProtocol.h"
#import "FLXPostgresConnectionDelegate.h"
+@class FLXPostgresError;
@class FLXPostgresResult;
@class FLXPostgresStatement;
@class FLXPostgresConnectionParameters;
@@ -36,7 +37,6 @@
NSString *_database;
NSString *_password;
NSString *_socketPath;
- NSString *_lastErrorMessage;
NSString *_encoding;
const char **_connectionParamNames;
@@ -55,6 +55,7 @@
NSMutableDictionary *_typeMap;
+ FLXPostgresError *_lastError;
FLXPostgresConnectionParameters *_parameters;
NSObject <FLXPostgresConnectionDelegate> *_delegate;
@@ -69,7 +70,7 @@
@property (readwrite, retain) NSString *socketPath;
@property (readonly) NSString *encoding;
-@property (readonly) NSString *lastErrorMessage;
+@property (readonly) FLXPostgresError *lastError;
@property (readonly) NSStringEncoding stringEncoding;
@property (readonly) FLXPostgresConnectionParameters *parameters;