gloml

Types

pub type DecodeError {
  UnexpectedFormat(List(d.DecodeError))
}

Constructors

  • UnexpectedFormat(List(d.DecodeError))

Functions

pub fn decode(from toml_string: String, using decoder: fn(Dynamic) ->
    Result(a, List(DecodeError))) -> Result(a, gloml.DecodeError)

Parse a toml file. This function returns DecodeError when there is an error. Note: timestamps are not supported.

Search Document