     init(byDiplicatingConfig config: GlobalConfig? = nil) throws {
         
         if let config = config {
-            
-            guard let h = rd_kafka_conf_dup(config.handle) else {
-                throw KafkaError.globalConfigDuplicationError
-            }
-            
-            handle = h
-            
+            handle = rd_kafka_conf_dup(config.handle)
         } else {
-            
-            guard let h = rd_kafka_conf_new() else {
-                throw KafkaError.globalConfigCreationError
-            }
-            
-            handle = h
-            
+            handle = rd_kafka_conf_new()
         }
         
     }


import ckafka

/// A struct used for creating and manipulating global Kafka
/// configurations
public struct GlobalConfig {
    
    // MARK: - Public Properties
    

    }
    
    /**
     Sets configuration variables to the global config
     - parameter variables: An array of configuration enums
     */
    public func set(_ variables: [GlobalConfigProperty]) throws {
        let _ = try variables.map({ try set($0) })
    }

    /**
     Sets a value to a configuration variable
     - parameter variable: A configuration enum variable
     */
