Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

346 B
Raw Blame
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum WebCryptoError {
    Data,
    Operation,
    Syntax,
}

impl WebCryptoError {
    pub fn message(self) -> &'static str {
        match self {
            Self::Data => "DataError",
            Self::Operation => "OperationError",
            Self::Syntax => "SyntaxError",
        }
    }
}