feature/m1-resource-project-services #70
@@ -2271,7 +2271,7 @@ class ProjectNotFoundError(DatabaseError):
|
||||
|
||||
|
||||
class DuplicateLinkError(DatabaseError):
|
||||
"""Raised when creating a duplicate alias within a project."""
|
||||
"""Raised when creating a link that duplicates an existing alias in a project."""
|
||||
|
||||
def __init__(self, project_name: str, alias: str):
|
||||
super().__init__(f"Alias '{alias}' already exists in project '{project_name}'")
|
||||
|
||||
Reference in New Issue
Block a user