diff options
| author | transtrike <transtrike@gmail.com> | 2021-04-05 13:41:31 +0300 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-04-05 13:41:31 +0300 |
| commit | da7d6223c261aac8e8f18458c11fb48cf9ca4cfe (patch) | |
| tree | a8b29422156a7fe76a2034142744f22e328b8c2f /src/Common/DevHive.Common/Constants/ErrorMessages.cs | |
| parent | bad7456b379bcc683431e2279591f7c5227bd55a (diff) | |
| download | DevHive-da7d6223c261aac8e8f18458c11fb48cf9ca4cfe.tar DevHive-da7d6223c261aac8e8f18458c11fb48cf9ca4cfe.tar.gz DevHive-da7d6223c261aac8e8f18458c11fb48cf9ca4cfe.zip | |
Introduced consts for every string possible. FML
Diffstat (limited to 'src/Common/DevHive.Common/Constants/ErrorMessages.cs')
| -rw-r--r-- | src/Common/DevHive.Common/Constants/ErrorMessages.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Common/DevHive.Common/Constants/ErrorMessages.cs b/src/Common/DevHive.Common/Constants/ErrorMessages.cs new file mode 100644 index 0000000..30ca544 --- /dev/null +++ b/src/Common/DevHive.Common/Constants/ErrorMessages.cs @@ -0,0 +1,16 @@ +namespace DevHive.Common.Constants +{ + public static class ErrorMessages + { + public const string InvalidData = "Invalid {0}!"; + public const string IncorrectData = "Incorrect {0}!"; + public const string DoesNotExist = "{0} does not exist!"; + public const string AlreadyExists = "{0} already exists!"; + + public const string CannotAdd = "Could not add {0}!"; + public const string CannotCreate = "Could not create {0}!"; + public const string CannotDelete = "Could not delete {0}!"; + public const string CannotUpload = "Could not upload {0}!"; + public const string CannotEdit = "Could not edit {0}!"; + } +} |
