Expand description
Procedural macro implementations for the struct_error crate.
§⚠️ WARNING: UNAUDITED CODE
This crate was AI-generated and has not undergone human review. It likely contains bugs and should NOT be used in production. The API is subject to change after audit.
Macros§
- __
throws_ impl - Internal function-like proc macro called by
__throws_cpsat the end of the token forwarding chain. - match_
error - Blind, type-driven pattern matching on errors.
Attribute Macros§
- __
struct_ error_ members - Internal attribute macro that encodes the member list on structs generated by
#[united_error]. - __
throws_ cps - Internal attribute macro used as the CPS callback for
macro_magic::forward_tokens!. - error
- Defines an atomic error struct, automatically deriving
Debug,Display, andError. - throws
- Replaces the function’s return type with an implicit error union and rewrites control flow.
- united_
error - Defines a compile-time alias for a set of errors (a united error).