aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Http/ErrorResponse.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-04 18:02:39 +0800
committercrupest <crupest@outlook.com>2020-02-04 18:02:39 +0800
commit03c9d4edc4e321db8c1b70ae621f77fa89664dfc (patch)
tree458d802973d4768e4bd5d463540608404b86c309 /Timeline/Models/Http/ErrorResponse.cs
parent7cf188134086c5d878cd3230345e89fc10b7e2ca (diff)
downloadtimeline-03c9d4edc4e321db8c1b70ae621f77fa89664dfc.tar.gz
timeline-03c9d4edc4e321db8c1b70ae621f77fa89664dfc.tar.bz2
timeline-03c9d4edc4e321db8c1b70ae621f77fa89664dfc.zip
Add get timeline list feature.
Diffstat (limited to 'Timeline/Models/Http/ErrorResponse.cs')
-rw-r--r--Timeline/Models/Http/ErrorResponse.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Timeline/Models/Http/ErrorResponse.cs b/Timeline/Models/Http/ErrorResponse.cs
index 0d23fe59..9f7e70e1 100644
--- a/Timeline/Models/Http/ErrorResponse.cs
+++ b/Timeline/Models/Http/ErrorResponse.cs
@@ -277,6 +277,21 @@ namespace Timeline.Models.Http
}
+ public static class TimelineController
+ {
+
+ public static CommonResponse QueryRelateNotExist(params object?[] formatArgs)
+ {
+ return new CommonResponse(ErrorCodes.TimelineController.QueryRelateNotExist, string.Format(TimelineController_QueryRelateNotExist, formatArgs));
+ }
+
+ public static CommonResponse CustomMessage_QueryRelateNotExist(string message, params object?[] formatArgs)
+ {
+ return new CommonResponse(ErrorCodes.TimelineController.QueryRelateNotExist, string.Format(message, formatArgs));
+ }
+
+ }
+
}
}