You are here

function raven_test_throw_exception in Raven: Sentry Integration 7.4

Same name and namespace in other branches
  1. 7.2 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 79
Raven test module.

Code

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