chore: initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace StevanFreeborn.Results
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Represents an error with a code and message.
|
||||
/// </summary>
|
||||
public interface IError
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the error code.
|
||||
/// </summary>
|
||||
string Code { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the error message.
|
||||
/// </summary>
|
||||
string Message { get; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user