MagLev/maglev — pull request #242 by kirstin (2013-01-28 18:34:03+00:00)
Title: Kirstin/object of transaction error 19

I added the Class TransactionError in Exception.rb so now I can do this:

```ruby
if @lecture.valid?
begin
Maglev.commit_transaction
rescue TransactionError => error
puts error.object.class
puts error.object
raise
end
end
```

When a TransactionError is raised I want to know more about the object that was transient than just the class name.