pub type CommandHandlerResult = Result<(), UserBotError>;
Expand description

Expected Result returned from a command handler

Aliased Type§

enum CommandHandlerResult {
    Ok(()),
    Err(UserBotError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(UserBotError)

Contains the error value