If Twilio encounters a problem when running through the instructions in your application, we will log an error message for your account. You can see these error messages in your Debugger. You can also set up triggers for these error messages so you will be alerted any time Twilio logs an error. Go to Triggers tab of your Developer Center and click on the + icon.
Configure the Trigger to fire based on your preferences. You can have Twilio hit a webhook or send an email:
When you navigate back to your Alert Triggers, you can see all the triggers you’ve set up for your account as well as a few default ones we’ve created for you.