Pike7.0TutorialErrors and Error Handling

   

Error Messages from Pike
Error Handling: the Concept
Detecting an Error
Handling the Error
Error Codes
catch and throw

Errors and Error Handling

If you, as a programmer, want some more help from pike when things go wrong, don't invoke your program by typing pike myprogram.pike. Instead, type pike -w -rT myprogram.pike, to turn on stricter error checking and reporting. This chapter digs into the realm of error handling, exploring concepts such as return values, error codes and exceptions.