Changes XCallback error code from int to String