You are here

function cmis_error_handler in CMIS API 6.2

Same name and namespace in other branches
  1. 6.4 cmis.module \cmis_error_handler()
  2. 6.3 cmis.module \cmis_error_handler()
  3. 7.2 cmis.module \cmis_error_handler()
  4. 7 cmis.module \cmis_error_handler()

Utility for handling CMIS errors.

Parameters

$e Exception:

15 calls to cmis_error_handler()
cmis_browser_autocomplete in cmis_browser/cmis_browser.content_autocomplete.inc
Utility function for supporting CMIS repository path auto-complete.
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.

... See full list

File

./cmis.module, line 129

Code

function cmis_error_handler($type, $e) {
  watchdog($type, $e
    ->getMessage(), NULL, WATCHDOG_ERROR);
  drupal_set_message($e
    ->getMessage(), 'error');
}