Skip to content

Commit

Permalink
#3668: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 15, 2024
1 parent 386b739 commit 49fb681
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eo-runtime/src/main/java/EOorg/EOeolang/EOerror.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static final class ExError extends ExAbstract {
/**
* Messages seen on its way out.
*/
private final Collection<String> messages;
private final Collection<String> trace;

/**
* Ctor.
Expand All @@ -107,7 +107,7 @@ public ExError(final Phi enclosure) {
* @param message New message
*/
public ExError(final ExError cause, final String message) {
this(cause.enclosure(), concat(cause.messages, message));
this(cause.enclosure(), concat(cause.trace, message));
}

/**
Expand All @@ -118,7 +118,7 @@ public ExError(final ExError cause, final String message) {
public ExError(final Phi enclosure, final Collection<String> before) {
super(EOerror.ExError.safeMessage(enclosure));
this.enc = enclosure;
this.messages = before;
this.trace = before;
}

/**
Expand All @@ -134,7 +134,7 @@ public Phi enclosure() {
* @return The messages
*/
public Collection<String> messages() {
return this.messages;
return this.trace;
}

/**
Expand Down

0 comments on commit 49fb681

Please sign in to comment.