#region ========================================================================= USING =====================================================================================
using Lumina.Domain.Common.Primitives;
#endregion
namespace Lumina.Domain.Common.Errors;
///
/// Media contributor error types.
///
public static partial class Errors
{
///
/// Groups the errors that report media contributor rule violations and missing contributors.
///
public static class MediaContributor
{
///
/// Gets the error that reports that the contributor name cannot be empty.
///
public static Error ContributorNameCannotBeEmpty => Error.Validation(description: nameof(ContributorNameCannotBeEmpty));
///
/// Gets the error that reports that the contributor display name cannot be empty.
///
public static Error ContributorDisplayNameCannotBeEmpty => Error.Validation(description: nameof(ContributorDisplayNameCannotBeEmpty));
///
/// Gets the error that reports that the contributor display name exceeds the maximum length of 100 characters.
///
public static Error ContributorDisplayNameMustBeMaximum100CharactersLong => Error.Validation(description: nameof(ContributorDisplayNameMustBeMaximum100CharactersLong));
///
/// Gets the error that reports that the contributor legal name exceeds the maximum length of 100 characters.
///
public static Error ContributorLegalNameMustBeMaximum100CharactersLong => Error.Validation(description: nameof(ContributorLegalNameMustBeMaximum100CharactersLong));
///
/// Gets the error that reports that the contributor role name cannot be empty.
///
public static Error RoleNameCannotBeEmpty => Error.Validation(description: nameof(RoleNameCannotBeEmpty));
///
/// Gets the error that reports that the contributor role name exceeds the maximum length of 50 characters.
///
public static Error RoleNameMustBeMaximum50CharactersLong => Error.Validation(description: nameof(RoleNameMustBeMaximum50CharactersLong));
///
/// Gets the error that reports that the contributor role category cannot be empty.
///
public static Error RoleCategoryCannotBeEmpty => Error.Validation(description: nameof(RoleCategoryCannotBeEmpty));
///
/// Gets the error that reports that the contributor role must not be .
///
public static Error ContributorRoleCannotBeNull => Error.Validation(description: nameof(ContributorRoleCannotBeNull));
///
/// Gets the error that reports that the contributors list must not be .
///
public static Error ContributorsListCannotBeNull => Error.Validation(description: nameof(ContributorsListCannotBeNull));
///
/// Gets the error that reports that the media contributor identifier cannot be empty.
///
public static Error MediaContributorIdCannotBeEmpty => Error.Validation(description: nameof(MediaContributorIdCannotBeEmpty));
///
/// Gets the error that reports that the requested media contributor was not found.
///
public static Error MediaContributorNotFound => Error.NotFound(description: nameof(MediaContributorNotFound));
///
/// Gets the error that reports that the media contributor already exists.
///
public static Error MediaContributorAlreadyExists => Error.Conflict(description: nameof(MediaContributorAlreadyExists));
///
/// Gets the error that reports that the media contributor role is not a defined value.
///
public static Error UnknownMediaContributorRole => Error.Validation(description: nameof(UnknownMediaContributorRole));
}
}