Sovite.Core.Config.Error exception (sovite v0.2.0)

Copy Markdown View Source

A single configuration problem.

path is the list of keys leading to the bad value, for example ["queue", "directory"], or ["listener", "[0]", "port"] inside an array. It is empty for file-level problems such as a missing file or a TOML syntax error.

Summary

Types

t()

@type t() :: %Sovite.Core.Config.Error{
  __exception__: term(),
  path: [String.t()],
  reason: String.t()
}