aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/ExceptionDtos/ExceptionDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models/ExceptionDtos/ExceptionDto.cs')
-rw-r--r--Jellyfin.Api/Models/ExceptionDtos/ExceptionDto.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/ExceptionDtos/ExceptionDto.cs b/Jellyfin.Api/Models/ExceptionDtos/ExceptionDto.cs
new file mode 100644
index 000000000..d2b48d4ae
--- /dev/null
+++ b/Jellyfin.Api/Models/ExceptionDtos/ExceptionDto.cs
@@ -0,0 +1,14 @@
+namespace Jellyfin.Api.Models.ExceptionDtos
+{
+ /// <summary>
+ /// Exception Dto.
+ /// Used for graceful handling of API exceptions.
+ /// </summary>
+ public class ExceptionDto
+ {
+ /// <summary>
+ /// Gets or sets exception message.
+ /// </summary>
+ public string Message { get; set; }
+ }
+}