Add some errors handling

/cc @danschultz

Added errors handling for Model.save()