wavers 1.0.0

A library for reading and writing wav files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Module containing the error types for Wavers
use thiserror::Error;

pub type WaversResult<T> = Result<T, WaversError>;

/// Error types for Wavers
#[derive(Error, Debug)]
pub enum WaversError {
    #[error("Invalid type specified: {0}")]
    InvalidType(String),
    #[error("IO error with file")]
    IOError(#[from] std::io::Error),
}