Derive Macro unc_sdk::FunctionError
source ยท #[derive(FunctionError)]Expand description
FunctionError generates implementation for unc_sdk::FunctionError trait.
It allows contract runtime to panic with the type using its ToString implementation
as the message.