diff options
Diffstat (limited to 'Errors/ErrorBase.cs')
-rw-r--r-- | Errors/ErrorBase.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Errors/ErrorBase.cs b/Errors/ErrorBase.cs new file mode 100644 index 0000000..e82e932 --- /dev/null +++ b/Errors/ErrorBase.cs @@ -0,0 +1,11 @@ +namespace BackendPIA.Errors { + public abstract class ErrorBase { + protected int Status { get; } + protected string Message { get; } + + public ErrorBase(int status, string message) { + Status = status; + Message = message; + } + } +}
\ No newline at end of file |