[Chapel Merge] Deprecate the 'SysError' module and move its conte

Branch: refs/heads/main
Revision: 1c0f4fa
Author: daviditen
Link: Unavailable
Log Message:

Merge pull request #20192 from daviditen/move-SysError-to-OS

Deprecate the 'SysError' module and move its contents to 'OS'

[reviewed by @jeremiah-corrado, thanks!]

The contents of the 'SysError' module make sense in 'OS', so move them there
and deprecate 'SysError'. Update references to 'SysError' to use 'OS' instead.

Add a deprecation test for the 'SysError' module.

Modified Files:
A test/deprecated/testSysError.chpl

A test/deprecated/testSysError.good
M doc/rst/language/spec/error-handling.rst
M modules/internal/DefaultAssociative.chpl
M modules/internal/DefaultRectangular.chpl
M modules/packages/Buffers.chpl
M modules/packages/Crypto.chpl
M modules/packages/HDFS.chpl
M modules/packages/LinkedLists.chpl
M modules/packages/Socket.chpl
M modules/packages/ZMQ.chpl
M modules/standard/BigInteger.chpl
M modules/standard/ChapelIO.chpl
M modules/standard/FileSystem.chpl
M modules/standard/GMP.chpl
M modules/standard/IO.chpl
M modules/standard/OS.chpl
M modules/standard/Path.chpl
M modules/standard/Regex.chpl
M modules/standard/Subprocess.chpl
M modules/standard/Sys.chpl
M modules/standard/SysError.chpl
M test/compflags/ferguson/print-module-resolution.good
M test/errhandling/ferguson/issue-18103.chpl
M test/errhandling/lydia/ioerrorCheck.chpl
M test/errhandling/psahabu/defer-throw-fatal.chpl
M test/errhandling/psahabu/defer-throw-relaxed.chpl
M test/modules/bradc/printModStuff/foo.good
M test/modules/sungeun/init/printModuleInitOrder.good
M test/modules/sungeun/init/printModuleInitOrder.na-none.good
M test/release/examples/primers/errorHandling.chpl

Compare: https://github.com/chapel-lang/chapel/compare/2180f6a7637f...1c0f4fa91a54