Skip to content

Implement custom Error derive macro#29

Merged
RAprogramm merged 1 commit intonew_versionfrom
codex/create-proc-macro-crate-for-error-derive
Sep 17, 2025
Merged

Implement custom Error derive macro#29
RAprogramm merged 1 commit intonew_versionfrom
codex/create-proc-macro-crate-for-error-derive

Conversation

@RAprogramm
Copy link
Owner

Summary

  • Introduced the masterror-derive proc-macro crate that generates Display and std::error::Error implementations with format rewrites and source handling.
  • Replaced thiserror usage across the crate by re-exporting the new derive and updating module imports and documentation.
  • Added integration tests that exercise the derive on structs and enums to verify formatting and source propagation.

Testing

  • cargo +nightly fmt
  • cargo clippy -- -D warnings
  • cargo test
  • cargo doc --no-deps

https://chatgpt.com/codex/tasks/task_e_68ca25bc3e4c832b816e4310e46b588a

@RAprogramm RAprogramm merged commit d32f0bd into new_version Sep 17, 2025
1 of 2 checks passed
@RAprogramm RAprogramm deleted the codex/create-proc-macro-crate-for-error-derive branch September 17, 2025 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant