function cmis_error_handler in CMIS API 6.3
Same name and namespace in other branches
- 6.4 cmis.module \cmis_error_handler()
- 6.2 cmis.module \cmis_error_handler()
- 7.2 cmis.module \cmis_error_handler()
- 7 cmis.module \cmis_error_handler()
Utility for handling CMIS errors.
Parameters
$e Exception:
16 calls to cmis_error_handler()
- cmis_browser_autocomplete in cmis_browser/
cmis_browser.content_autocomplete.inc - Cmis folder picker autocomplete callback.
- cmis_browser_content_delete_confirm in cmis_browser/
cmis_browser.content_delete.inc - Menu callback -- ask for confirmation of CMIS object deletion
- cmis_browser_content_delete_confirm_submit in cmis_browser/
cmis_browser.content_delete.inc - Execute CMIS object deletion.
- cmis_browser_content_get in cmis_browser/
cmis_browser.content_get.inc - Build cmis_browser browse page.
- cmis_browser_content_properties in cmis_browser/
cmis_browser.content_properties.inc - CMIS object properties page.
File
- ./
cmis.module, line 212
Code
function cmis_error_handler($type, $e) {
watchdog($type, $e
->getMessage(), NULL, WATCHDOG_ERROR);
drupal_set_message($e
->getMessage(), 'error');
}