aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Drawing.Skia/SkiaCodecException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Drawing.Skia/SkiaCodecException.cs')
-rw-r--r--Jellyfin.Drawing.Skia/SkiaCodecException.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/Jellyfin.Drawing.Skia/SkiaCodecException.cs b/Jellyfin.Drawing.Skia/SkiaCodecException.cs
index c10367052..0cfb55c26 100644
--- a/Jellyfin.Drawing.Skia/SkiaCodecException.cs
+++ b/Jellyfin.Drawing.Skia/SkiaCodecException.cs
@@ -11,12 +11,6 @@ namespace Jellyfin.Drawing.Skia
public class SkiaCodecException : SkiaException
{
/// <summary>
- /// Returns the non-successful codec result returned by Skia.
- /// </summary>
- /// <value>The non-successful 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-successful codec result returned by Skia.</param>
@@ -37,12 +31,17 @@ 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(
CultureInfo.InvariantCulture,
"Non-success codec result: {0}\n{1}",
CodecResult,
- base.ToString());
+ base.ToString());
}
}