#region ========================================================================= USING ===================================================================================== using Lumina.Presentation.Web.Common.Enums.Primitives; #endregion namespace Lumina.Presentation.Web.Common.Primitives; /// /// Error representing that the operation is not allowed due to insufficient permissions or restrictions. /// /// The error code that uniquely identifies this error type. /// The human-readable description of the error. public record ForbiddenError(string Code, string Description) : Error { /// /// Gets the type of this error. /// public override ErrorType Type => ErrorType.Forbidden; /// /// Gets the error code that uniquely identifies this error type. /// public override string Code { get; } = Code; /// /// Gets the human-readable description of the error. /// public override string Description { get; } = Description; }