Skip to content

Commit

Permalink
better error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 15, 2024
1 parent 7598bd5 commit 6e729ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eo-runtime/src/main/java/org/eolang/PhDefault.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,10 @@ public byte[] delta() {
bytes = this.take(Attr.PHI).delta();
} else {
throw new ExFailure(
"There's no data in the object, can't take it"
String.format(
"There's no data in the object of %s",
this.forma()
)
);
}
return bytes;
Expand Down

0 comments on commit 6e729ce

Please sign in to comment.