throw a Rollback error when `compose` fails

fix #145