Qore DataProvider Module Reference 3.0
Loading...
Searching...
No Matches
DataProvider::ImplicitModuleTransaction Class Reference

Implements a mechanism to roll back changes made in external module initialization if an error occurs. More...

#include <ImplicitModuleTransaction.qc.dox.h>

Public Member Methods

 destructor ()
 Executes all rollback code if there is an active exception in module initialization.
 

Static Public Member Methods

static add (code rb_code)
 Adds a rollback closure to be executed if there is an active exception in module initialization.
 

Private Member Methods

 addRollback (code rb_code)
 Adds a rollback closure to be executed if there is an active exception in module initialization.
 

Detailed Description

Implements a mechanism to roll back changes made in external module initialization if an error occurs.