package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

shakuhachi-0.4.0.tar.gz
sha256=8bd4675792ec93d705e68d4e43dc04aa1124fcaf644ae3a1a3fda68464276f95
sha512=712efcbe13e6e9d3336f72c2c25d4b41225cdd245f21adeeadc8aa4ad31ca9c905077e0873a3d1165d7c09357c009c859c4a7cd9c2d0c9bffc27144525594e72

doc/shakuhachi.config/SkhcConfig/Err/index.html

Module SkhcConfig.ErrSource

Operations on errors while parsing a configuration file.

Sourcetype t =
  1. | ParsingError of string
  2. | MissingSection of string
  3. | MissingKey of string

The type of errors appearing while parsing a configuration file.

Sourceval parsing_error : string -> t

parsing_error msg creates a ParsingError error with msg.

Sourceval missing_section : string -> t

missing_section msg creates a MissingSection error with msg.

Sourceval missing_key : string -> t

missing_key msg create a MissingKey error with msg

Sourceval to_string : t -> string

to_string error returns the string representation of error;