BLOG-142 Move label to a new feature #143

Merged
squid merged 4 commits from BLOG-142_move_label_to_new_feature into main 2025-10-15 06:23:58 +08:00
Showing only changes of commit 72e944af7b - Show all commits

View File

@ -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),
}