addError method

Send an async error to a stream.

void addError(
errorEvent,
[StackTrace stackTrace]
)

Send an async error to a stream.