SkyPHP/skyphp — pull request #132 by stanistan (2012-07-25 22:09:26+00:00)
Title: Try catch errors

### Things changed:

- Model will try/catch all exceptions during save, this ensures that transactions are rolled back

- Added Methods: `tryCallable()`, `applySaveHook()`, `addErrors()`

- changed `error()` and `addError()` to be public

- cleaned up `saveArray()` and its docs

this is the method that does the db writing

- fix a possible transaction issue

- refactor `$model_dependencies`

- add check to make sure that save()/delete() do not get called inside save()/delete(), this prevents recursion and weird errors