You are here

function raven_test_throw_exception in Raven: Sentry Integration 7.2

Same name and namespace in other branches
  1. 7.4 tests/raven_test.module \raven_test_throw_exception()
  2. 7.3 tests/raven_test.module \raven_test_throw_exception()

Throws an exception.

1 call to raven_test_throw_exception()
raven_test_page_build in tests/raven_test.module
Implements hook_page_build().
1 string reference to 'raven_test_throw_exception'
RavenTestCase::testRaven in ./raven.test
Tests Raven module functionality.

File

tests/raven_test.module, line 71
Raven test module.

Code

function raven_test_throw_exception() {
  throw new Exception('This exception will be caught.');
}