diff options
| author | crupest <crupest@outlook.com> | 2020-06-17 17:10:40 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2020-06-17 17:10:40 +0800 | 
| commit | 4a46206ea5f004ecb595de4bfd573b6263ac462b (patch) | |
| tree | b4532afa1b9026d7245b7c172116a8cc99d33daf /Timeline/Resources/Services/Exceptions.resx | |
| parent | c360ec8414a563338839b239c0f8062bfdcdc4e9 (diff) | |
| download | timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.tar.gz timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.tar.bz2 timeline-4a46206ea5f004ecb595de4bfd573b6263ac462b.zip  | |
refactor(back): Refactor timeline service.
Diffstat (limited to 'Timeline/Resources/Services/Exceptions.resx')
| -rw-r--r-- | Timeline/Resources/Services/Exceptions.resx | 24 | 
1 files changed, 21 insertions, 3 deletions
diff --git a/Timeline/Resources/Services/Exceptions.resx b/Timeline/Resources/Services/Exceptions.resx index b064fd44..e9595caa 100644 --- a/Timeline/Resources/Services/Exceptions.resx +++ b/Timeline/Resources/Services/Exceptions.resx @@ -112,13 +112,31 @@    <data name="TimelineNotExistException" xml:space="preserve">
      <value>Request timeline name is "{0}". If this is a personal timeline whose name starts with '@', it means the user does not exist and inner exception should be a UserNotExistException.</value>
    </data>
 -  <data name="TimelinePostNotExistExceptionDeleted" xml:space="preserve">
 -    <value>Request timeline name is "{0}".  Request timeline post id is "{1}". The post does not exist because it has been deleted.</value>
 -  </data>
    <data name="TimelinePostNotExistException" xml:space="preserve">
      <value>Request timeline name is "{0}".  Request timeline post id is "{1}".</value>
    </data>
    <data name="UserNotExistException" xml:space="preserve">
      <value>Request username is "{0}". Request id is "{1}".</value>
    </data>
 +  <data name="TimelineNoDataException" xml:space="preserve">
 +    <value>The timeline has no data.</value>
 +  </data>
 +  <data name="ImageException" xml:space="preserve">
 +    <value>Image is in valid because {0}.</value>
 +  </data>
 +  <data name="ImageExceptionBadSize" xml:space="preserve">
 +    <value>image is not of required size</value>
 +  </data>
 +  <data name="ImageExceptionCantDecode" xml:space="preserve">
 +    <value>failed to decode image, see inner exception</value>
 +  </data>
 +  <data name="ImageExceptionUnknownError" xml:space="preserve">
 +    <value>unknown error</value>
 +  </data>
 +  <data name="ImageExceptionUnmatchedFormat" xml:space="preserve">
 +    <value>image's actual mime type is not the specified one</value>
 +  </data>
 +  <data name="TimelinePostNotExistExceptionDeleted" xml:space="preserve">
 +    <value>Request timeline name is "{0}".  Request timeline post id is "{1}". The post does not exist because it is deleted.</value>
 +  </data>
  </root>
\ No newline at end of file  | 
