event.errorCode Type Number Event onComplete See also onComplete texttospeech.* Overview Unique error code, present when event.isError is true, nil otherwise.