Replaces ErrorOr library with a custom implementation.

This commit is contained in:
BinaryAlley committed 2026-08-14 03:04:28 -07:00
1 parent 8fe90a4dde
commit 3b772d68ca
436 files changed
+4234 -3922

No files matched your search

@@ -0,0 +1,42 @@
namespace Lumina.Domain.SharedKernel.Common.Enums.Primitives;
/// <summary>
/// Enumeration for the type of an error.
/// </summary>
public enum ErrorType
{
/// <summary>
/// Represents a generic failure.
/// </summary>
Failure,
/// <summary>
/// Represents an unexpected error.
/// </summary>
Unexpected,
/// <summary>
/// Represents a validation error.
/// </summary>
Validation,
/// <summary>
/// Represents a conflict error.
/// </summary>
Conflict,
/// <summary>
/// Represents a not found error.
/// </summary>
NotFound,
/// <summary>
/// Represents an unauthorized error.
/// </summary>
Unauthorized,
/// <summary>
/// Represents a forbidden error.
/// </summary>
Forbidden,
}