mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Replaces ErrorOr library with a custom implementation.
This commit is contained in:
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,
|
||||
}
|
||||
Reference in new issue
Block a user