Skip to content

Commit b267c6a

Browse files
Add toString() on ErrorKind (#240)
* Show correct client request id on debug message * Support generated cmdlet * Update code * update code * update code * Update code after review * initial check in for Azure PowerShell related exceptions (#237) * initial check in for Azure PowerShell related exceptions * code refine * add Azure PowerShell exceptions * Add new telemetry properties * Update after review * Update code * Add method name * Add toString() on ErrorKind Co-authored-by: erich-wang <[email protected]>
1 parent 0e2cbb2 commit b267c6a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Authentication.Abstractions/Interfaces/IContainsAzPSErrorData.cs

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ private ErrorKind(string value)
5555

5656
public static implicit operator string(ErrorKind error) => error.Value;
5757

58+
public override string ToString()
59+
{
60+
return Value;
61+
}
62+
5863
/// <summary>
5964
/// Error caused by user input
6065
/// </summary>

0 commit comments

Comments
 (0)