- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- Sam Williams
- 137字
- 2021-07-16 17:45:08
Errors in your code
No developer wants to admit there are bugs in their code, but if you create more than a simple chatbot, there probably will be. There are different ways to approach this problem, from writing tests for every function, to thorough end-to-end testing, to wrapping everything in a try/catch. This book will let you decide how you want to deal with these errors, but expecting your code to be error-free is a very dangerous path.
No matter how you want to stop errors getting into your code, you need to deal with them when you get them. This is where having a low-level error handler can also be of use. You can use that to catch errors that have occurred in your code the same way that you deal with errors from external APIs.
推薦閱讀
- RCNP實驗指南:構(gòu)建高級的路由互聯(lián)網(wǎng)絡(luò)(BARI)
- 網(wǎng)絡(luò)協(xié)議工程
- 面向物聯(lián)網(wǎng)的CC2530與傳感器應(yīng)用開發(fā)
- Spring Cloud微服務(wù)架構(gòu)進階
- Getting Started with WebRTC
- Wireshark網(wǎng)絡(luò)分析就這么簡單
- Spring 5.0 Projects
- Unity Artificial Intelligence Programming
- 異構(gòu)蜂窩網(wǎng)絡(luò)關(guān)鍵理論與技術(shù)
- LwIP應(yīng)用開發(fā)實戰(zhàn)指南:基于STM32
- 物聯(lián)網(wǎng)M2M開發(fā)技術(shù):基于無線CPU-Q26XX
- 現(xiàn)場綜合化網(wǎng)絡(luò)運營與維護:運營商數(shù)字化轉(zhuǎn)型技術(shù)與實踐
- 從物聯(lián)到萬聯(lián):Node.js與樹莓派萬維物聯(lián)網(wǎng)構(gòu)建實戰(zhàn)
- Corona SDK Application Design
- OSPF協(xié)議原理與功能拓展