createEvent

open fun createEvent(@Nullable exc: Throwable, @NonNull client: Client, @NonNull severityReason: SeverityReason): Event

Create an Event object

Return

a new Event object

Parameters

exc

the Throwable object that caused the event

client

the Client object that the event is associated with

severityReason

the severity of the Event