uses wifi_error constant