Method HandleEventHandlerError
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HandleEventHandlerError(string, Exception, Delegate, object, object)
Handles an error that occurred in an event handler.
ValueTask HandleEventHandlerError(string name, Exception exception, Delegate invokedDelegate, object sender, object args)
Parameters
namestringThe name of the event.
exceptionExceptionThe exception thrown.
invokedDelegateDelegateThe delegate that was invoked.
senderobjectThe object that dispatched this event.
argsobjectThe arguments passed to this event.