forked from anancarv/python-artifactory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexception.py
More file actions
61 lines (32 loc) · 1.34 KB
/
Copy pathexception.py
File metadata and controls
61 lines (32 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"""
Definition of all exceptions.
"""
from __future__ import annotations
class ArtifactoryError(Exception):
"""Generic artifactory exception."""
class UserAlreadyExistsError(ArtifactoryError):
"""User already exists."""
class GroupAlreadyExistsError(ArtifactoryError):
"""Group already exists."""
class RepositoryAlreadyExistsError(ArtifactoryError):
"""Repository already exists."""
class PermissionAlreadyExistsError(ArtifactoryError):
"""Permission already exists."""
class UserNotFoundError(ArtifactoryError):
"""The user was not found."""
class GroupNotFoundError(ArtifactoryError):
"""The group was not found."""
class RepositoryNotFoundError(ArtifactoryError):
"""The repository was not found."""
class PermissionNotFoundError(ArtifactoryError):
"""A permission object was not found."""
class ArtifactNotFoundError(ArtifactoryError):
"""An artifact was not found"""
class BadPropertiesError(ArtifactoryError):
"""Property value includes invalid characters"""
class PropertyNotFoundError(ArtifactoryError):
"""All requested properties were not found"""
class InvalidTokenDataError(ArtifactoryError):
"""The token contains invalid data."""
class BuildNotFoundError(ArtifactoryError):
"""Requested build were not found"""