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