Package

org.tupol.utils

config

Permalink

package config

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. config
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ConfigurationException(errors: Seq[Throwable]) extends Exception with Product with Serializable

    Permalink

    Encapsulates all configuration exceptions that occurred while trying to map the data from a Typesafe Config object onto a case class.

  2. trait Configurator[T] extends Extractor[T]

    Permalink

    Implementors of this trait how to construct a class of type T from a Typesafe Config instance.

  3. trait Extractor[T] extends AnyRef

    Permalink

    An extractor is a bit of code that knows how to extract a value of type T from a Typesafe {{Config}} instance.

    An extractor is a bit of code that knows how to extract a value of type T from a Typesafe {{Config}} instance.

    T

    the type that this implementation can extract for us.

  4. implicit class RichConfig extends AnyRef

    Permalink

    Adds the extract method to a Typesafe Config instance, allowing us to request values from it like so: {{config.extract[Double]("double")}} or {{config.extract[Option[Range]]("range")}}

  5. implicit final class ThrowableOps extends AnyVal

    Permalink

    Add a convenience method to convert an Exception to a NonEmptyList[Throwable].

Value Members

  1. object Extractor

    Permalink
  2. implicit def validationNelToTry[E <: Throwable, T](validation: ValidationNel[E, T]): Try[T]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped