priv/toml

Types

pub type TomError {
  TomParseError(error: tom.ParseError)
  TomGetError(error: tom.GetError)
}

Constructors

  • TomParseError(error: tom.ParseError)
  • TomGetError(error: tom.GetError)

Functions

pub fn get_bool(
  toml_content: String,
  key_path: List(String),
) -> Result(Bool, TomError)
pub fn get_int(
  toml_content: String,
  key_path: List(String),
) -> Result(Int, TomError)
pub fn get_string(
  toml_content: String,
  key_path: List(String),
) -> Result(String, TomError)
Search Document