10000 Update documentation on InvalidSpecificationException · GiTechLab/libgit2sharp@24446f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24446f5

Browse files
jamillnulltoken
authored andcommitted
Update documentation on InvalidSpecificationException
Update documentation on InvalidSpecificationException to better reflect the current meaning of this exception.
1 parent 1a3249c commit 24446f5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

LibGit2Sharp/InvalidSpecificationException.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
namespace LibGit2Sharp
66
{
77
/// <summary>
8-
/// The exception that is thrown when the provided specification is syntactically incorrect.
8+
/// The exception that is thrown when a provided specification is bad. This
9+
/// can happen if the provided specification is syntactically incorrect, or
10+
/// if the spec refers to an object of an incorrect type (e.g. asking to
11+
/// create a branch from a blob, or peeling a blob to a commit).
912
/// </summary>
1013
[Serializable]
1114
public class InvalidSpecificationException : LibGit2SharpException

0 commit comments

Comments
 (0)
0