Pass error code and message to extract op context method and raise exception there