[Chapel Merge] Switch TomlError to properly use Error superclass

Branch: refs/heads/main
Revision: 45601212316f8492e0d0e612e756771d5f9039d0
Author: jabraham17
Link: Switch TomlError to properly use Error superclass by jabraham17 · Pull Request #28725 · chapel-lang/chapel · GitHub
Log Message:
Switch TomlError to properly use Error superclass (#28725)

Switches the TomlError class to properly use the Error superclass

[Reviewed by @benharsh]

Compare: Comparing 1384d0392c575ee28f0a228aa2b8a503f4c9c853...dbcdb4ee3ffbe58fe158beceabacf09e81710f98 · chapel-lang/chapel · GitHub

Diff:
M modules/packages/TOML.chpl
https://github.com/chapel-lang/chapel/pull/28725.diff