More generic except clause for errors in Calculate