Class WolfErrorCodeExtensions
Extension methods for WolfErrorCode.
Inheritance
System.Object
WolfErrorCodeExtensions
Namespace: TehGM.Wolfringo.Messages.Responses
Assembly: Wolfringo.Core.dll
Syntax
public static class WolfErrorCodeExtensions
Methods
| Improve this Doc View SourceGetDescription(WolfErrorCode, String)
Gets error code description based on sent command.
Declaration
public static string GetDescription(this WolfErrorCode code, string sentCommand = null)
Parameters
| Type | Name | Description |
|---|---|---|
| WolfErrorCode | code | Error code. |
| System.String | sentCommand | Sent command. |
Returns
| Type | Description |
|---|---|
| System.String | Error code description. |