git-mit-relates-to 5.9.5

Set Relates-to trailer.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use miette::Diagnostic;
use thiserror::Error;

#[derive(Error, Debug, Diagnostic)]
pub enum GitRelatesTo {
    #[error("not timeout set")]
    #[diagnostic(
        url(docsrs),
        code(git_mit_relates_to::errors::git_relates_to::no_timeout_set)
    )]
    NoTimeoutSet,
    #[error("not relates to message set")]
    #[diagnostic(
        url(docsrs),
        code(git_mit_relates_to::errors::git_relates_to::no_relates_to_message_set)
    )]
    NoRelatesToMessageSet,
}