Macros§
- error
- Generates an
Error::MainstayErrorthat includes file and line information.
Attribute Macros§
- error_
code - Generates
Errorandtype Result<T> = Result<T, Error>types to be used as return types from Mainstay instruction handlers. Importantly, the attribute implementsFromon theErrorCodeto support converting from the user defined error enum into the generatedError.