Packages

package cfg

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. cfg
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package impl
  2. package schema

Type Members

  1. trait CfgError extends AnyRef

    Marker trait for all errors that can arise during config loading or decoding.

  2. sealed trait INode[+I <: Id] extends AnyRef

    A node in the config tree, tagged with its path type I.

    A node in the config tree, tagged with its path type I.

    Every node in the tree is an INode. Use the type alias Node when the path type does not matter. Concrete variants (all in the Node companion):

    I

    the Id subtype that describes this node's position in the tree

  3. sealed trait Id extends AnyRef

    A path addressing a position in the config tree.

    A path addressing a position in the config tree.

    Every Node carries an Id that identifies where in the tree it lives. The path method renders the full address as a human-readable string using dotted-key notation with bracket-indexed sequences, e.g. server.hosts[0].

    Concrete implementations:

    • Id.Root — the top of the tree; path is the empty string
    • Id.Key — a named field inside a map node
    • Id.Index — a positional element inside a sequence node
  4. trait Location extends AnyRef

    Source location of a config value (file name, line number, etc.).

    Source location of a config value (file name, line number, etc.).

    The format of description is determined by the backend that produced the node.

  5. type Node = INode[Id]

    Type alias for INode with an unspecified path type, used throughout the API when the concrete Id subtype does not matter.

  6. trait NodeError extends CfgError

    A CfgError tied to a specific Node.

    A CfgError tied to a specific Node.

    When processing a node produces an error, the error should carry that node so callers can report exactly where in the tree the problem occurred. Node.INone and Node.INull implement this trait directly, since the nodes themselves represent erroneous states.

Value Members

  1. object Id
  2. object Node

Inherited from AnyRef

Inherited from Any

Ungrouped