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
commit3cbb2e7ef4bb2ccbbaadd18e49e2de392d6db2e1 (patch)
tree458d802973d4768e4bd5d463540608404b86c309 /Timeline/Models/Http/ErrorResponse.cs
parente5cf0da3976116cd575e884fb8f191f225fe9301 (diff)
downloadtimeline-3cbb2e7ef4bb2ccbbaadd18e49e2de392d6db2e1.tar.gz
timeline-3cbb2e7ef4bb2ccbbaadd18e49e2de392d6db2e1.tar.bz2
timeline-3cbb2e7ef4bb2ccbbaadd18e49e2de392d6db2e1.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));
+ }
+
+ }
+
}
}