aerospike-scala
                                
                                
                                
                                    aerospike-scala copied to clipboard
                            
                            
                            
                        Examples
AClient.scala
val hosts = scala.util.Try(List(config.getString("ru-tinkoff-aerospike-dsl.example-host"))).toOption .getOrElse(throw new Exception("Add host for aerospike in application.conf file"))
toOption is redundant. Try already contains getOrElse method.