git-mit-relates-to 5.12.61

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

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