Skip to content

HandleError does not implement std::error::Error #218

Description

@AvniJashari

HandleError does not implement std::error::Error

Summary
HandleError is currently missing an implementation of the std::error::Error trait, which limits its interoperability with the broader Rust ecosystem.

Motivation
Implementing std::error::Error for HandleError would allow it to:

  • be used directly with error-handling crates (e.g. anyhow, thiserror)
  • be boxed as Box<dyn Error> and propagated with ? in standard Result chains
  • satisfy trait bounds expected by downstream libraries

This seems like a low-effort, non-breaking addition that would improve ergonomics for users of this crate.

Activity

  1. madsmtm commented on Mar 24, 2026

    @madsmtm
    Member

    To answer the question (which you probably figured out), it does, you just need to enable the std Cargo feature.

    I've put up #220 and #221 to improve the situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions