summaryrefslogtreecommitdiff
path: root/src/marlin.web/Models/ErrorViewModel.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-03 23:06:05 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-03 23:06:05 +1000
commit7c33b3f334cf91918add7af08866f2ea37ed9c3f (patch)
tree8095a2d65e87a808fac62b47e315a4875cc86b73 /src/marlin.web/Models/ErrorViewModel.cs
chore: initial commit
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