galaeth-draft/Galaeth.Core/Constants/CoreErrorCodes.cs
2024-11-17 09:31:01 +00:00

23 lines
533 B
C#

namespace Galaeth.Core.Constants;
/// <summary>
/// Error codes to be provided in a response.
/// </summary>
public static class CoreErrorCodes
{
/// <summary>
/// Unauthorised access.
/// </summary>
public const string Unauthorized = "unauthorized";
/// <summary>
/// The request body is missing data.
/// </summary>
public const string NoDataProvided = "missing-data";
/// <summary>
/// Validation failed.
/// </summary>
public const string ValidationError = "validation-fail";
}