You might want to change your keyboard so you can type properly too 😉
If you go to System Preferences --> Sound --> then select Sound Effects tab if it isn't automatically selected you can change your error sound there and the error sound volume too.