All checks were successful
dotnet publish / package (8.0) (push) Successful in 37s
11 lines
No EOL
382 B
C#
11 lines
No EOL
382 B
C#
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.";
|
|
} |