[API categories](API-categories.md) | [API index](API-index.md)
# V8ContextHandler (interface)
Implement this interface to handle javascript exceptions globally.
Table of contents:
* [Notes](#notes)
* [Callbacks](#callbacks)
* [OnContextCreated](#oncontextcreated)
* [OnContextReleased](#oncontextreleased)
## Notes
Callbacks available in upstream CEF, but not yet exposed in CEF Python:
* OnUncaughtException
## Callbacks
### OnContextCreated
| Parameter | Type |
| --- | --- |
| browser | [Browser](Browser.md) |
| frame | [Frame](Frame.md) |
| __Return__ | void |
Called shortly after (process message delay) the V8 context for
a frame has been created.
If the page does not contain `