// // Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License. // namespace Astral.Core.Constants; /// /// Error codes to be provided in a response. /// public static class CoreErrorCodes { /// /// Unauthorised access. /// public const string Unauthorized = "unauthorized"; /// /// The request body is missing data. /// public const string NoDataProvided = "missing-data"; /// /// Validation failed. /// public const string ValidationError = "validation-fail"; /// /// Entity not found. /// public const string NotFoundError = "not-found"; /// /// An unexpected error. /// public const string UnexpectedError = "unexpected-error"; }