Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

499 B
Raw Blame
use serde::{Deserialize, Serialize};

#[bindings::export(Error)]
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, thiserror::Error)]
#[non_exhaustive]
pub enum TextToSpeechSessionError {
    #[error("Backend error: {message}")]
    Backend {
        message: String,
    },
    #[error("Unsupported model")]
    UnsupportedModel {},
    #[error("Unable to perform operation in current state")]
    UnableToPerformOperationInCurrentState {},
    #[error("No response")]
    NoResponse {},
}