overtone 0.1.1

An API for creation and management of rich (as in rich-text) musical-ish projects.
Documentation
//! All the API errors.

use std::string::FromUtf8Error;

#[derive(Debug)]
pub enum OvertoneApiError {
    // A generic error. This is a code smell and will be removed from Overtone as stability grows.
    GenericError(Option<std::io::Error>),

    DirectoryNotFound(std::io::Error),
    FileNotFound(std::io::Error),
    DirectoryIsNotOvertoneProject(Option<std::io::Error>),
    ErrorOpeningProject(std::io::Error),

    TomlParsingError(toml::de::Error),
    StringParsingError(FromUtf8Error),

    PluginAlreadyLoaded(),
    MissingPlugin(String),
    LibraryNotFound(libloading::Error),
    LibraryIsNotOvertonePlugin(),
}