summaryrefslogtreecommitdiffstats
path: root/solve/PhotoEditor/Models/ErrorViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'solve/PhotoEditor/Models/ErrorViewModel.cs')
-rw-r--r--solve/PhotoEditor/Models/ErrorViewModel.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/solve/PhotoEditor/Models/ErrorViewModel.cs b/solve/PhotoEditor/Models/ErrorViewModel.cs
new file mode 100644
index 0000000..b4fec48
--- /dev/null
+++ b/solve/PhotoEditor/Models/ErrorViewModel.cs
@@ -0,0 +1,8 @@
+namespace PhotoEditor.Models;
+
+public class ErrorViewModel
+{
+ public string? RequestId { get; set; }
+
+ public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
+}