This PR primarily focuses on refactoring error handling and enhancing the error message generation within the eo-runtime project. It introduces new error handling mechanisms and restructures tests to ensure proper error reporting.
Detailed summary
Deleted PhNamed and PhNamedTest files.
Replaced PhNamed usage with direct Dataized calls in Main.java.
Updated error messages in MainTest.java for clarity.
Changed package names from org.eolang to integration for integration tests.
Added new test for error handling in DataizedTest.java.
Introduced ErrorMsg class in PhSafe for better error message construction.
Enhanced error reporting in PhLocated with specific labels for exceptions.
Removed the old ErrorMsg class from EOerror.
Added location tracking to EOerror.ExError for improved debugging.
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
see #3505
PR-Codex overview
This PR primarily focuses on refactoring error handling and enhancing the error message generation within the
eo-runtime
project. It introduces new error handling mechanisms and restructures tests to ensure proper error reporting.Detailed summary
PhNamed
andPhNamedTest
files.PhNamed
usage with directDataized
calls inMain.java
.MainTest.java
for clarity.org.eolang
tointegration
for integration tests.DataizedTest.java
.ErrorMsg
class inPhSafe
for better error message construction.PhLocated
with specific labels for exceptions.ErrorMsg
class fromEOerror
.EOerror.ExError
for improved debugging.