23 lines
533 B
C#
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";
|
||
|
}
|