mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 09:11:10 +00:00
21 lines
973 B
C#
21 lines
973 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using ErrorOr;
|
|
#endregion
|
|
|
|
namespace Lumina.Domain.Common.Errors;
|
|
|
|
/// <summary>
|
|
/// Written content error types.
|
|
/// </summary>
|
|
public static partial class Errors
|
|
{
|
|
public static class WrittenContent
|
|
{
|
|
#region ==================================================================== PROPERTIES =================================================================================
|
|
public static Error IsbnCannotBeEmpty => Error.Validation(nameof(IsbnCannotBeEmpty));
|
|
public static Error InvalidIsbn10Format => Error.Validation(nameof(InvalidIsbn10Format));
|
|
public static Error InvalidIsbn13Format => Error.Validation(nameof(InvalidIsbn13Format));
|
|
public static Error UnknownIsbnFormat => Error.Unexpected(nameof(UnknownIsbnFormat));
|
|
#endregion
|
|
}
|
|
} |