void addError(errorEvent, [ StackTrace stackTrace ])

Send an async error to a stream.

Source

void addError(errorEvent, [StackTrace stackTrace]);