aboutsummaryrefslogtreecommitdiffstats
path: root/src/Data/Result/ErrorResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Result/ErrorResult.cs')
-rw-r--r--src/Data/Result/ErrorResult.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Data/Result/ErrorResult.cs b/src/Data/Result/ErrorResult.cs
new file mode 100644
index 0000000..3e585b3
--- /dev/null
+++ b/src/Data/Result/ErrorResult.cs
@@ -0,0 +1,13 @@
+namespace IOL.WebApi.Template.Data.Result
+{
+ public class ErrorResult
+ {
+ public ErrorResult(string title = default, string text = default) {
+ Title = title;
+ Text = text;
+ }
+
+ public string Title { get; set; }
+ public string Text { get; set; }
+ }
+}