/// <summary> /// Allows you to set the exception used in in the JsonRpc response. /// Warning: Must be called from within the execution context of the jsonRpc method to function. /// </summary> /// <param name="exception"></param> public static void SetException(JsonRpcException exception) { Handler.RpcSetException(exception); }