Method IsError
IsError<T>(IJsonRpcResponse<T>)
Determines whether the response represents an error.
Declaration
public static bool IsError<T>(this IJsonRpcResponse<T> response)
Parameters
| Type | Name | Description |
|---|---|---|
| IJsonRpcResponse<T> | response | This IJsonRpcResponse<TResult> instance. |
Returns
| Type | Description |
|---|---|
| Boolean | true, If the response represents an error, otherwise false. |
Type Parameters
| Name | Description |
|---|---|
| T |