Skip to content

impl std::error::Error for parameter errors #412

@alluring-mushroom

Description

@alluring-mushroom

Hello 😃

I have been testing this excellent project for work.
In using eyre for much of my error handling, I have found that the errors implemented in paramaters.rs do not implement std::error::Error, such as DeclarationError:

pub enum DeclarationError {

Would you accept a PR containing these?

I assume you do not wish to depend on thiserror as you haven't used it for RclrsError. Is there any advice on the Display impls for any of these? I think many of the comments should suffice, such this one:

/// Parameter was already declared and a new declaration was attempted.

Thank you for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions