Method TryGetException
- Namespace
- DSharpPlus.Net.Gateway
- Assembly
- DSharpPlus.dll
TryGetException(out Exception?)
Attempts to retrieve the exception thrown attempting to read this frame.
public bool TryGetException(out Exception? exception)
Parameters
exception
Exception
Returns
TryGetException<T>(out T?)
Attempts to retrieve the exception thrown attempting to read this frame.
public bool TryGetException<T>(out T? exception) where T : Exception
Parameters
exception
T
Returns
Type Parameters
T