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
- bool
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
- bool
Type Parameters
T