Added a check of the result from the PDOStatement::execute() call in the save() function to throw an error containing the PDO Error code in case of a false success.