docs.roxen.comView this page in a printer friendly mode
DocsPike7.0TutorialErrors and Error Handling
Copyright © 2001, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

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.