Add defensive check for argument errors keyword in to_numeric
- [x] closes #26394 
- [x] tests passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] Added defensive check for argument `errors` in func `to_numeric`
