Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Improve exceptions handling #24

Merged
merged 5 commits into from
Apr 11, 2017
Merged

Improve exceptions handling #24

merged 5 commits into from
Apr 11, 2017

Conversation

pinepain
Copy link
Member

@pinepain pinepain commented Apr 9, 2017

This PR improves exceptions handling. It breaks few userland API, however, changes are trivial. For more details see change list below.

  • * Require Context explicitly in V8\Isolate::ThrowException();
  • * Rename V8\Exceptions\GenericException to V8\Exceptions\Exception;
  • * Rename V8\Exceptions\AbstractResourceLimitException to V8\Exceptions\ResourceLimitException;
  • internal: Check whether returned context is empty in V8\Isolate\GetEnteredContext() instead of checking InContext().

* - BC-breaking or potentially BC-breaking changes

@pinepain pinepain merged commit 1d79ac3 into master Apr 11, 2017
@pinepain pinepain deleted the require_context branch April 12, 2017 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant