next up previous contents
Next: The CMOD API Up: The C API Previous: Push Functions   Contents

Pike_error()

This function is used to throw exceptions when errors occur. A call to Pike_error(), like the one in the example, raises an exception. The argument is a message which is printed to standard error if the exception is not caught.
/*Example of usage:*/
    Pike_error("Too many arguments in call to method");



2003-03-04