Struct ruma_common::api::error::IncorrectArgumentCount
source · pub struct IncorrectArgumentCount {
pub expected: usize,
pub got: usize,
}Available on crate feature
api only.Expand description
An error that happens when an incorrect amount of arguments have been passed to PathData parts formatting.
Fields§
§expected: usizeThe expected amount of arguments.
got: usizeThe amount of arguments received.
Trait Implementations§
source§impl Debug for IncorrectArgumentCount
impl Debug for IncorrectArgumentCount
source§impl Display for IncorrectArgumentCount
impl Display for IncorrectArgumentCount
source§impl Error for IncorrectArgumentCount
impl Error for IncorrectArgumentCount
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()