alpm_srcinfo::error

Function deprecation

Source
pub fn deprecation(
    line: Option<usize>,
    message: impl ToString,
) -> SourceInfoError
Expand description

Creates a SourceInfoError for deprecation warnings.

Takes an optional line on which the issue occurred and a message.