fn message(variant: &Variant) -> Result<Message, Error>
Reads the #[error(…)] attribute of one variant.
#[error(…)]