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