appletheia_application/command/
command_name_owned_error.rs1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum CommandNameOwnedError {
5 #[error("command name is empty")]
6 Empty,
7 #[error("command name is too long")]
8 TooLong,
9 #[error("command name must be snake_case ascii: [a-z0-9_]")]
10 InvalidFormat,
11}