Use ToxOpError for both toxcore and toxav.