BLOG-142 Move label to a new feature #143
@ -12,7 +12,7 @@ impl Display for LabelError {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
match self {
|
||||
LabelError::NotFound => write!(f, "Label not found"),
|
||||
LabelError::Unauthorized => write!(f, "Unauthorized access to post"),
|
||||
LabelError::Unauthorized => write!(f, "Unauthorized access to label"),
|
||||
LabelError::DuplicatedLabelName => write!(f, "Label name already exists"),
|
||||
LabelError::Unexpected(e) => write!(f, "Unexpected error: {}", e),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user