Skip to content

Commit

Permalink
Merge pull request #7 from MrDave1999/resolve-base
Browse files Browse the repository at this point in the history
Resolves warning: Could not resolve base documentation for `ParserException.Message`
  • Loading branch information
MrDave1999 authored Nov 23, 2022
2 parents eed854b + fb420ac commit 126d471
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/SeztionParser/Exceptions/ParserException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public ParserException(string message, object actualValue) : base(message)
this.actualValue = actualValue;
}

/// <inheritdoc />
/// <summary>
/// Gets a message that describes the current exception.
/// </summary>
public override string Message
=> actualValue != null ? base.Message + " (Actual Value: " + actualValue + ")" : base.Message;
}

0 comments on commit 126d471

Please sign in to comment.