Skip to content

feat: centralize Error enum #299

@ssddOnTop

Description

@ssddOnTop

Currently, rmcp crate is throwing errors randomly, like JoinErro, std::io::Error, ClientInitializeError<std::io::Error>, SseTransportError<reqwest::Error>, ClientInitializeError<SseTransportError<reqwest::Error>>, rmcp::ServiceError, etc.

So as a user it's very difficult for me to write maintainable code without having to use something like anyhow.

So I think ideally there should be an enum rmcp::Error which is used across the library to maintain uniformity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions