Skip to content

Commit

Permalink
remove CredentialRequiresServer
Browse files Browse the repository at this point in the history
  • Loading branch information
PoshAJ authored and PoshAJ committed Sep 7, 2024
1 parent 8e0b33d commit 9883809
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/PSADTree/Exceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ internal static ErrorRecord IdentityNotFound(string? identity) =>
ErrorCategory.ObjectNotFound,
identity);

internal static ErrorRecord CredentialRequiresServer() =>
new(
new ArgumentException("Server parameter is required when Credential parameter is used."),
"CredentialRequiresServer",
ErrorCategory.InvalidOperation,
null);

internal static ErrorRecord AmbiguousIdentity(this Exception exception, string? identity) =>
new(exception, "AmbiguousIdentity", ErrorCategory.InvalidResult, identity);

Expand Down

0 comments on commit 9883809

Please sign in to comment.