Fail

final case class Fail(message: String) extends Primitive[Nothing]
trait Product
trait Equals
trait Primitive[Nothing]
trait Config[Nothing]
class Object
trait Matchable
class Any

Value members

Concrete methods

final def parse(text: String): Either[Error, Nothing]

Inherited methods

def ++[B](that: => Config[B])(implicit zippable: Zippable[Nothing, B]): Config[Out]

Returns a new config that is the composition of this config and the specified config.

Returns a new config that is the composition of this config and the specified config.

Inherited from:
Config
def ??(label: => String): Config[A]

Adds a description to this configuration, which is intended for humans.

Adds a description to this configuration, which is intended for humans.

Inherited from:
Config
final def description: String
Inherited from:
Primitive
def map[B](f: Nothing => B): Config[B]

Returns a new config whose structure is the same as this one, but which produces a different Scala value, constructed using the specified function.

Returns a new config whose structure is the same as this one, but which produces a different Scala value, constructed using the specified function.

Inherited from:
Config
def mapAttempt[B](f: Nothing => B): Config[B]

Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified function, which may throw exceptions that will be translated into validation errors.

Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified function, which may throw exceptions that will be translated into validation errors.

Inherited from:
Config
def mapOrFail[B](f: Nothing => Either[Error, B]): Config[B]

Returns a new config whose structure is the samea as this one, but which may produce a different Scala value, constructed using the specified fallible function.

Returns a new config whose structure is the samea as this one, but which may produce a different Scala value, constructed using the specified fallible function.

Inherited from:
Config
final def missingError(name: String): Error
Inherited from:
Primitive
def nested(name: => String): Config[A]

Returns a new config that has this configuration nested as a property of the specified name.

Returns a new config that has this configuration nested as a property of the specified name.

Inherited from:
Config
def optional: Config[Option[A]]

Returns an optional version of this config, which will be None if the data is missing from configuration, and Some otherwise.

Returns an optional version of this config, which will be None if the data is missing from configuration, and Some otherwise.

Inherited from:
Config
def orElse[A1](that: => Config[A1]): Config[A1]

A named version of ||.

A named version of ||.

Inherited from:
Config
def orElseIf(condition: Error => Boolean): OrElse[A]

Returns configuration which reads from this configuration, but which falls back to the specified configuration if reading from this configuration fails with an error satisfying the specified predicate.

Returns configuration which reads from this configuration, but which falls back to the specified configuration if reading from this configuration fails with an error satisfying the specified predicate.

Inherited from:
Config
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Returns a new config that describes a sequence of values, each of which has the structure of this config.

Returns a new config that describes a sequence of values, each of which has the structure of this config.

Inherited from:
Config
def validate(message: => String)(f: Nothing => Boolean): Config[A]

Returns a new config that describes the same structure as this one, but which performs validation during loading.

Returns a new config that describes the same structure as this one, but which performs validation during loading.

Inherited from:
Config
def validateWith[B](message: => String)(pf: PartialFunction[Nothing, B]): Config[B]

Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified partial function, failing with the specified validation error if the partial function is not defined.

Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified partial function, failing with the specified validation error if the partial function is not defined.

Inherited from:
Config
def withDefault[A1](default: => A1): Config[A1]

Returns a new config that describes the same structure as this one, but has the specified default value in case the information cannot be found.

Returns a new config that describes the same structure as this one, but has the specified default value in case the information cannot be found.

Inherited from:
Config
def zip[B](that: => Config[B])(implicit z: Zippable[Nothing, B]): Config[Out]

A named version of ++.

A named version of ++.

Inherited from:
Config
def ||[A1](that: => Config[A1]): Config[A1]

Returns a config whose structure is preferentially described by this config, but which falls back to the specified config if there is an issue reading from this config.

Returns a config whose structure is preferentially described by this config, but which falls back to the specified config if there is an issue reading from this config.

Inherited from:
Config