Context.getException

Get the last unhandled exception thrown in context by API functions calls.

class Context
getException
()

Return Value

Type: javascriptcore.exception.ExceptionWrap

a #JSCException or null if there isn't any unhandled exception in the #JSCContext.