leptos_ws 0.9.3

Leptos WS is a Websocket for the Leptos framework to support updates coordinated from the Server
Documentation
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("No ServerSignals in State")]
    MissingServerSignals,
    #[error("Could not add ServerSignal to ServerSignals")]
    AddingSignalFailed,
    #[error("Could not add ChannelHandler to ChannelHandlers")]
    AddingChannelHandlerFailed,

    #[error("Could not delete Signal")]
    DeletingSignalFailed,

    #[error("Could not delete ChannelHandler")]
    DeletingChannelHandlerFailed,

    #[error("Could not update Signal")]
    UpdateSignalFailed,

    #[error("Method not available on Signal")]
    NotAvailableOnSignal,

    #[error("Method not available on Client")]
    NotAvailableOnClient,

    #[error(transparent)]
    SerializationFailed(#[from] serde_json::Error),
}