Handle Nexmo API errors.