#[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.
#[derive(FunctionError)]
FunctionError
generates implementation for near_sdk::FunctionError
trait.
It allows contract runtime to panic with the type using its ToString
implementation
as the message.