diff options
Diffstat (limited to 'Timeline/Models/Http/ErrorResponse.cs')
-rw-r--r-- | Timeline/Models/Http/ErrorResponse.cs | 15 |
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));
+ }
+
+ }
+
}
}
|