diff options
author | 杨宇千 <crupest@outlook.com> | 2019-11-03 16:51:10 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-11-03 16:51:10 +0800 |
commit | 27719fa2a00e041cdb957182812508464d19a9d7 (patch) | |
tree | 3e661387665f6592cf10b2cd93da217d7f16e6e5 /Timeline/Resources/Services | |
parent | cb2d9949ecc1d3c4b10295eb715a9293d493c5e2 (diff) | |
download | timeline-27719fa2a00e041cdb957182812508464d19a9d7.tar.gz timeline-27719fa2a00e041cdb957182812508464d19a9d7.tar.bz2 timeline-27719fa2a00e041cdb957182812508464d19a9d7.zip |
WIP: Design the timeline service interface.
Diffstat (limited to 'Timeline/Resources/Services')
-rw-r--r-- | Timeline/Resources/Services/Exception.Designer.cs | 36 | ||||
-rw-r--r-- | Timeline/Resources/Services/Exception.resx | 12 |
2 files changed, 48 insertions, 0 deletions
diff --git a/Timeline/Resources/Services/Exception.Designer.cs b/Timeline/Resources/Services/Exception.Designer.cs index ddf60f45..a5785cb6 100644 --- a/Timeline/Resources/Services/Exception.Designer.cs +++ b/Timeline/Resources/Services/Exception.Designer.cs @@ -268,6 +268,42 @@ namespace Timeline.Resources.Services { }
/// <summary>
+ /// Looks up a localized string similar to An exception happened when add or remove member on timeline..
+ /// </summary>
+ internal static string TimelineMemberOperationException {
+ get {
+ return ResourceManager.GetString("TimelineMemberOperationException", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to An exception happened when operating on the {} member on timeline..
+ /// </summary>
+ internal static string TimelineMemberOperationExceptionIndex {
+ get {
+ return ResourceManager.GetString("TimelineMemberOperationExceptionIndex", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Timeline name is of bad format. If this is a personal timeline, it means the username is of bad format and inner exception should be a UsernameBadFormatException..
+ /// </summary>
+ internal static string TimelineNameBadFormatException {
+ get {
+ return ResourceManager.GetString("TimelineNameBadFormatException", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Timeline does not exist. If this is a personal timeline, it means the user does not exist and inner exception should be a UserNotExistException..
+ /// </summary>
+ internal static string TimelineNotExistException {
+ get {
+ return ResourceManager.GetString("TimelineNotExistException", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to The username is of bad format..
/// </summary>
internal static string UsernameBadFormatException {
diff --git a/Timeline/Resources/Services/Exception.resx b/Timeline/Resources/Services/Exception.resx index 12bf9afb..e6622094 100644 --- a/Timeline/Resources/Services/Exception.resx +++ b/Timeline/Resources/Services/Exception.resx @@ -186,6 +186,18 @@ <data name="JwtVerifyExceptionVersionClaimBadFormat" xml:space="preserve">
<value>version claim is not a number.</value>
</data>
+ <data name="TimelineMemberOperationException" xml:space="preserve">
+ <value>An exception happened when add or remove member on timeline.</value>
+ </data>
+ <data name="TimelineMemberOperationExceptionIndex" xml:space="preserve">
+ <value>An exception happened when operating on the {} member on timeline.</value>
+ </data>
+ <data name="TimelineNameBadFormatException" xml:space="preserve">
+ <value>Timeline name is of bad format. If this is a personal timeline, it means the username is of bad format and inner exception should be a UsernameBadFormatException.</value>
+ </data>
+ <data name="TimelineNotExistException" xml:space="preserve">
+ <value>Timeline does not exist. If this is a personal timeline, it means the user does not exist and inner exception should be a UserNotExistException.</value>
+ </data>
<data name="UsernameBadFormatException" xml:space="preserve">
<value>The username is of bad format.</value>
</data>
|