Template:Computer Programming/Error Handling/1

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Error handling techniques[edit source]

This chapter describes various error handling techniques. First the technique is described, then its use is shown with an example function and a call to that function. We use the √ function which should report an error condition when called with a negative parameter.

Return code[edit source]