Skip to content

[Good First Issue]: Implement XmlErrorstd::error::Error trait implementation (if missing) #25

Description

@AteebNoOne

Description

For idiomatic interop with the wider Rust ecosystem (e.g., anyhow, ? operator across crate boundaries), XmlError should implement std::error::Error (behind the std feature) and core::fmt::Display unconditionally. Verify current state and fill any gaps.

Acceptance Criteria

  • XmlError implements Display in both std and no_std builds
  • XmlError implements std::error::Error when the std feature is enabled
  • A unit test confirms XmlError can be used with Box<dyn std::error::Error>
  • cargo clippy and cargo test pass with no new warnings

Helpful Resources & Context

Implementation Notes

Gate the std::error::Error impl behind #[cfg(feature = "std")] to preserve no_std compatibility from Phase 9.

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions