void addError(
errorEvent,
[StackTrace stackTrace]
)

Send an async error to a stream.

Source

/** Send an async error to a stream. */
void addError(errorEvent, [StackTrace stackTrace]);