Use ES_EXCEPTIONS instead.