aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-03 10:53:23 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-03 10:53:23 +0000
commite4c3ec208cde23fb73edeb9db69a7f65a36d9fd4 (patch)
treebde9d19f9aff9e73724c8be9bb42e4b7630cd226 /Frameworks/PostgresKit/Source/FLXPostgresConnection.h
parente124a1d0fb576c311a6ac601b1c08e6ce51bcd30 (diff)
downloadsequelpro-e4c3ec208cde23fb73edeb9db69a7f65a36d9fd4.tar.gz
sequelpro-e4c3ec208cde23fb73edeb9db69a7f65a36d9fd4.tar.bz2
sequelpro-e4c3ec208cde23fb73edeb9db69a7f65a36d9fd4.zip
PostgresKit: set the last error to be an instance of FLXPostgresError not a string.
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;