Represents a configuration error.
Implicit wrapper on Config which provides optional methods on getters.
Implicit wrapper on Option to getOrElse throw ConfigError.
Implicit wrapper on Option to getOrElse throw ConfigError.
type of object
Simple wrapper to hold parsed Typesafe config files
Convenience methods and implicit wrappers for working with com.typesafe.config.Config
https://github.com/typesafehub/config
ConfigFactory.load() loads the following (first listed are higher priority):
system properties application.conf (all resources on classpath with this name) application.json (all resources on classpath with this name) application.properties (all resources on classpath with this name) reference.conf (all resources on classpath with this name)
From inside an actor, you can retrieve the config with
val config = context.system.settings.config