Abstract
When writing computer programs, sometimes your program does not execute with the behavior that you were expecting. This can be because of human errors, such as entering incorrect input, or because of environmental issues, such as network communication failures. It can even be because of issues with how the program logic was written. We call these scenarios generated in the program errors, and we call the act of anticipating these errors and taking appropriate actions error handling.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Anjana Fernando and Lakmal Warusawithana
About this chapter
Cite this chapter
Fernando, A., Warusawithana, L. (2020). Error Handling. In: Beginning Ballerina Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5139-3_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5139-3_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5138-6
Online ISBN: 978-1-4842-5139-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)