Attribute Macros§
- modifiers
- Macro used to add guards to functions. If the guard function returns
Okthen execution would continue. If the guard function returnsErrthe execution would stop and state changes would be reverted by invokingic_cdk::api::call::reject.