Skip to content

Commit

Permalink
style: Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Oct 24, 2023
1 parent 37e6356 commit 5a446f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Core/Result.Errors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ public static Result Unauthorized(IEnumerable<string> errors)
/// <summary>
/// Represents a situation where a user does not have valid authentication credentials for the target resource.
/// </summary>
/// <remarks>
/// Similar to Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
/// </remarks>
/// <param name="message">A general description of the error.</param>
/// <param name="errors">A collection of errors.</param>
/// <returns></returns>
public static Result Unauthorized(string message, IEnumerable<string> errors) => new()
{
IsSuccess = false,
Expand Down

0 comments on commit 5a446f7

Please sign in to comment.