     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()
         }
         
     }

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


import ckafka

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