src/Palete/Palete.vala
[app.Builder.js] / src / vapi / libgda-4.0.vapi
index 53d5834..508a982 100644 (file)
@@ -146,7 +146,7 @@ namespace Gda {
                public bool is_opened ();
                public bool open () throws GLib.Error;
                public static unowned Gda.Connection open_from_dsn (string dsn, string? auth_string, Gda.ConnectionOptions options) throws GLib.Error;
-               public static unowned Gda.Connection open_from_string (string provider_name, string? cnc_string, string? auth_string, Gda.ConnectionOptions options) throws GLib.Error;
+               public static unowned Gda.Connection open_from_string (string provider_name, string? cnc_string, string? auth_string, Gda.ConnectionOptions options) throws ConnectionError, ConfigError;
                public unowned Gda.Statement parse_sql_string (string sql, out unowned Gda.Set @params) throws GLib.Error;
                public bool perform_operation (Gda.ServerOperation op) throws GLib.Error;
                public unowned string quote_sql_identifier (string id);
@@ -1813,18 +1813,18 @@ namespace Gda {
                public Gda.SqlStatement parsed_statement;
        }
        [CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_BATCH_CONFLICTING_PARAMETER_")]
-       public enum BatchError {
+       public errordomain BatchError {
                ERROR
        }
        [CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_CONFIG_")]
-       public enum ConfigError {
+       public errordomain ConfigError {
                DSN_NOT_FOUND_ERROR,
                PERMISSION_ERROR,
                PROVIDER_NOT_FOUND_ERROR,
                PROVIDER_CREATION_ERROR
        }
        [CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_CONNECTION_")]
-       public enum ConnectionError {
+       public errordomain ConnectionError {
                DSN_NOT_FOUND_ERROR,
                PROVIDER_NOT_FOUND_ERROR,
                PROVIDER_ERROR,