We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65dfba9 commit 9e960a8Copy full SHA for 9e960a8
src/main/java/org/piccode/rt/PiccodeReturnException.java
@@ -5,22 +5,10 @@
5
*
6
* @author hexaredecimal
7
*/
8
-public class PiccodeUnit implements PiccodeValue {
+public class PiccodeReturnException extends RuntimeException {
9
+ public PiccodeValue value;
10
- @Override
11
- public Object raw() {
12
- return Void.TYPE;
+ public PiccodeReturnException(PiccodeValue value) {
+ this.value = value;
13
}
14
-
15
16
- public String toString() {
17
- return "()";
18
- }
19
20
21
- public String type() {
22
- return "Unit";
23
24
25
26
0 commit comments