src/sb/PDO/Debugger.php
public function s2o($sql, $params = null, $class_name = '', $prepare_and_store = 1)
    {

        try {
            return parent::s2o($sql, $params, $class_name, $prepare_and_store);
        } catch (\Exception $e) {
            throw(new \sb\PDO\Exception('CALLED: ' . __METHOD__ . "\nERROR RETURNED: " . print_r($e, 1)));
        }
    }
public function s2o($sql, $params = null, $class_name = '', $prepare_and_store = 1)
    {

        try {
            return parent::s2o($sql, $params, $class_name, $prepare_and_store);
        } catch (\Exception $e) {
            throw(new \sb\PDO\Exception('CALLED: ' . __METHOD__ . "\nERROR RETURNED: " . print_r($e, 1)));
        }
    }
public function s2o ( $ sql , $ params = null , $ class_name = '' , $ prepare_and_store = 1 ) { try { return parent :: s2o ( $ sql , $ params , $ class_name , $ prepare_and_store ) ; } catch ( \ Exception $ e ) { throw ( new \ sb \ PDO \ Exception ( 'CALLED: ' . __METHOD__ . "\nERROR RETURNED: " . print_r ( $ e , 1 ) ) ) ; } }
Additionally Logs the errors
Additionally Logs the errors