File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -15,30 +15,15 @@ union Tag
15
15
user_generated_tag = default
16
16
17
17
18
- union BaseError
19
- unknown
20
- "Action failed."
21
- transient
22
- "Action failed. Try again."
23
- input_validation
24
- "Action failed due to wrong params."
25
- cancelled
26
- "Action cancelled."
27
-
28
18
struct UserGeneratedTag
29
19
tag_text TagText
30
20
31
21
example default
32
22
tag_text = "my_tag"
33
23
34
24
35
-
36
- union BaseTagError extends BaseError
37
- feature_not_supported
38
- "Tags are not turned on for your team. Please turn on the feature."
39
-
40
- path_not_found
41
- "Path not found."
25
+ union BaseTagError
26
+ path LookupError
42
27
43
28
44
29
#####################################
@@ -57,7 +42,7 @@ struct AddTagArg
57
42
58
43
union AddTagError extends BaseTagError
59
44
too_many_tags
60
- "Item already has max supported tags."
45
+ "The item already has the maximum supported number of tags."
61
46
62
47
route tags/add(AddTagArg, Void, AddTagError)
63
48
"Add a tag to an item. A tag is a string. No more than 20 tags can be added to a given item."
@@ -84,7 +69,7 @@ struct RemoveTagArg
84
69
tag_text = "MyTag"
85
70
86
71
union RemoveTagError extends BaseTagError
87
- tag_not_exists_for_this_path
72
+ tag_not_present
88
73
"That tag doesn't exist at this path."
89
74
90
75
route tags/remove(RemoveTagArg, Void, RemoveTagError)
You can’t perform that action at this time.
0 commit comments