It's a generic `sqlalchemy.exc.StatementError` which doesn't really tell us very much, but I can add an assertion for it.