- 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.
推薦閱讀
- 社交網(wǎng)絡(luò)對(duì)齊
- 解析QUIC/HTTP3:未來(lái)互聯(lián)網(wǎng)的基石
- EDA技術(shù)與VHDL編程
- 企業(yè)私有云建設(shè)指南
- Getting Started with Grunt:The JavaScript Task Runner
- Metasploit Penetration Testing Cookbook
- Building RESTful Web services with Go
- Learning Swift(Second Edition)
- WordPress Web Application Development
- Laravel Application Development Cookbook
- 現(xiàn)場(chǎng)綜合化網(wǎng)絡(luò)運(yùn)營(yíng)與維護(hù):運(yùn)營(yíng)商數(shù)字化轉(zhuǎn)型技術(shù)與實(shí)踐
- 工業(yè)以太網(wǎng)技術(shù):AFDX/TTE網(wǎng)絡(luò)原理、接口、互連與安全
- 物聯(lián)網(wǎng)與智慧廣電
- 一本書(shū)讀懂移動(dòng)物聯(lián)網(wǎng)
- 網(wǎng)絡(luò)空間作戰(zhàn):機(jī)理與籌劃