Added callback-based exception reporting