feat: initial project commit
All checks were successful
dotnet publish / package (8.0) (push) Successful in 37s
All checks were successful
dotnet publish / package (8.0) (push) Successful in 37s
This commit is contained in:
commit
ca9f290d44
40 changed files with 3677 additions and 0 deletions
11
src/Results/Errors/InvalidOperationError.cs
Normal file
11
src/Results/Errors/InvalidOperationError.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
namespace Geekeey.Common.Results;
|
||||
|
||||
/// <summary>
|
||||
/// An error which represents an invalid operation.
|
||||
/// </summary>
|
||||
/// <param name="message">An optional message describing the operation and why it is invalid.</param>
|
||||
public sealed class InvalidOperationError(string? message = null) : Error
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public override string Message => message ?? "Invalid operation.";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue