diff options
Diffstat (limited to 'Jellyfin.Drawing.Skia/SkiaCodecException.cs')
| -rw-r--r-- | Jellyfin.Drawing.Skia/SkiaCodecException.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Jellyfin.Drawing.Skia/SkiaCodecException.cs b/Jellyfin.Drawing.Skia/SkiaCodecException.cs index f848636bc..8158b846d 100644 --- a/Jellyfin.Drawing.Skia/SkiaCodecException.cs +++ b/Jellyfin.Drawing.Skia/SkiaCodecException.cs @@ -1,3 +1,4 @@ +using System.Diagnostics.CodeAnalysis; using System.Globalization; using SkiaSharp; @@ -9,15 +10,9 @@ namespace Jellyfin.Drawing.Skia public class SkiaCodecException : SkiaException { /// <summary> - /// Returns the non-successfull codec result returned by Skia. - /// </summary> - /// <value>The non-successfull codec result returned by Skia.</value> - public SKCodecResult CodecResult { get; } - - /// <summary> /// Initializes a new instance of the <see cref="SkiaCodecException" /> class. /// </summary> - /// <param name="result">The non-successfull codec result returned by Skia.</param> + /// <param name="result">The non-successful codec result returned by Skia.</param> public SkiaCodecException(SKCodecResult result) : base() { CodecResult = result; @@ -27,7 +22,7 @@ namespace Jellyfin.Drawing.Skia /// Initializes a new instance of the <see cref="SkiaCodecException" /> class /// with a specified error message. /// </summary> - /// <param name="result">The non-successfull codec result returned by Skia.</param> + /// <param name="result">The non-successful codec result returned by Skia.</param> /// <param name="message">The message that describes the error.</param> public SkiaCodecException(SKCodecResult result, string message) : base(message) @@ -35,6 +30,11 @@ namespace Jellyfin.Drawing.Skia CodecResult = result; } + /// <summary> + /// Gets the non-successful codec result returned by Skia. + /// </summary> + public SKCodecResult CodecResult { get; } + /// <inheritdoc /> public override string ToString() => string.Format( |
