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
name
stringThe name of the event.
exception
ExceptionThe exception thrown.
invokedDelegate
DelegateThe delegate that was invoked.
sender
objectThe object that dispatched this event.
args
objectThe arguments passed to this event.