You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a warning which says that an exception is not documented whereas it was documented in its parent. I mean I'm using inheritdoc.
publicinterfaceIBotClient:IDisposable{/// <summary>/// Pings to see if the server is reachable./// </summary>/// <param name="ct">CancellationToken.</param>/// <returns>The roundtrip time of the ping request.</returns>/// <exception cref="T:System.ObjectDisposedException">Throw if disposed.</exception>/// <exception cref="T:ElonMuskBot.Core.Exceptions.RequestFailedException">Throw if request failed.</exception>Task<long>PingAsync(CancellationTokenct=default);}/// <summary>/// Abstract base class for implementations of the <see cref="IBotClient" />./// </summary>publicabstractclassBotClientBase:IBotClient{privatebool_disposed;privatereadonlyILogger<BotClientBase>_logger;privatereadonlyIBinanceClient_client;privatereadonlyIBinanceSocketClient_socketClient;protectedBotClientBase(ILogger<BotClientBase>logger,IBinanceClientclient,IBinanceSocketClientsocketClient){_logger=logger;_client=client;_socketClient=socketClient;}/// <inheritdoc />publicasyncTask<long>PingAsync(CancellationTokenct=default){ThrowIfDisposed();varresult=await_client.PingAsync(ct).ConfigureAwait(false);if(result.Success)returnresult.Data;thrownewRequestFailedException($"Error while sending a ping to the server | Error code: {result.Error?.Code} | Error message: {result.Error?.Message}");}}
The text was updated successfully, but these errors were encountered:
I'm getting a warning which says that an exception is not documented whereas it was documented in its parent. I mean I'm using inheritdoc.
The text was updated successfully, but these errors were encountered: