Files
mixtape/zero.Api/Configuration/ApiConstants.cs
T

17 lines
540 B
C#
Raw Normal View History

2021-11-29 18:25:50 +01:00
namespace zero.Api.Configuration;
public static class ApiConstants
2021-11-29 18:25:50 +01:00
{
public const string ChangeVector = "zero.api.change_vector";
2021-11-29 18:25:50 +01:00
public static class HttpErrors
{
public const string NoIdMatchOnUpdate = "The Id as part of the URL does not match the Id of the model";
public const string IdNotFound = "Could not find persisted model for the given Id";
public const string ChangeTokenMismatch = "The change token is not valid anymore";
2021-12-03 14:45:49 +01:00
public const string ChildNotAllowed = "Not allowed as a child entity";
2021-11-29 18:25:50 +01:00
}
}