aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/ErrorResponse.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-10 14:31:31 +0800
committercrupest <crupest@outlook.com>2021-02-10 14:31:31 +0800
commit872f0e9f094f37db9ff208d178ad5bea2fafc1a7 (patch)
tree27291dc4105e64ca3ed6ed43a8822cb911ed49a9 /BackEnd/Timeline/Models/Http/ErrorResponse.cs
parent253b06dfaa091d986a8714c081fd1e01679f538a (diff)
downloadtimeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.tar.gz
timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.tar.bz2
timeline-872f0e9f094f37db9ff208d178ad5bea2fafc1a7.zip
...
Diffstat (limited to 'BackEnd/Timeline/Models/Http/ErrorResponse.cs')
-rw-r--r--BackEnd/Timeline/Models/Http/ErrorResponse.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/BackEnd/Timeline/Models/Http/ErrorResponse.cs b/BackEnd/Timeline/Models/Http/ErrorResponse.cs
index 1bc46680..3812471d 100644
--- a/BackEnd/Timeline/Models/Http/ErrorResponse.cs
+++ b/BackEnd/Timeline/Models/Http/ErrorResponse.cs
@@ -253,17 +253,6 @@ namespace Timeline.Models.Http
{
return new CommonResponse(ErrorCodes.TimelineController.PostNotExist, string.Format(message, formatArgs));
}
-
- public static CommonResponse PostNoData(params object?[] formatArgs)
- {
- return new CommonResponse(ErrorCodes.TimelineController.PostNoData, string.Format(TimelineController_PostNoData, formatArgs));
- }
-
- public static CommonResponse CustomMessage_PostNoData(string message, params object?[] formatArgs)
- {
- return new CommonResponse(ErrorCodes.TimelineController.PostNoData, string.Format(message, formatArgs));
- }
-
}
}