Class WolfErrorCodeExtensions
Extension methods for WolfErrorCode.
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. |
String | sentCommand | Sent command. |
Returns
Type | Description |
---|---|
String | Error code description. |