pub type CmdResult = Result<Option<Text>, Text>;Expand description
The standard error that should be returned when calling
commands.
This error must include an error message in case of failure. It may also include a success message, but that is not required.
Aliased Type§
pub enum CmdResult {
Ok(Option<Text>),
Err(Text),
}