package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.3.tar.gz
sha256=7d07b9c7edcd5f5cee242facf4260272c56e56eb34b897888299ceece3e61d57
sha512=305f97d253d39f3b9d260e018d45f2563bea911cb164ad4d40c450e6c21081f1e7cde68203f9be6633b6933e1bad39da8405b99e8ace58adcc07758d37b8f2fd

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;