Open Source Content Management System

PHP Error handling function mgd_reset_errno

Set error constant to its default value.

void mgd_reset_errno(void);

This function is equivalent to mgd_set_errno(MGD_ERR_OK). It's added for better readability and flexibillity. Internal constant of default error may change in a future , so you should always use this function to reset error value.

Back to Error handling

Designed by Nemein, hosted by Anykey