File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -506,11 +506,11 @@ op.getpid = function() {
506
506
} ;
507
507
508
508
op . getmessage = function ( exception ) {
509
- return exception . message ;
509
+ return exception . $$ message;
510
510
} ;
511
511
512
512
op . setmessage = function ( exception , message ) {
513
- return ( exception . message = message ) ;
513
+ return ( exception . $$ message = message ) ;
514
514
} ;
515
515
516
516
op . getpayload = function ( exception ) {
Original file line number Diff line number Diff line change 1
1
class NQPException extends Error {
2
2
constructor ( message ) {
3
3
super ( message ) ;
4
+ this . $$message = message ;
4
5
}
5
6
6
7
Str ( ctx , _NAMED , self ) {
7
- return this . message ;
8
+ return this . $$ message;
8
9
}
9
10
10
11
$$toBool ( ctx ) {
Original file line number Diff line number Diff line change @@ -1583,7 +1583,7 @@ class VMException extends REPR {
1583
1583
1584
1584
STable . addInternalMethods ( class {
1585
1585
$$getStr ( ) {
1586
- return this . message ;
1586
+ return this . $$ message;
1587
1587
}
1588
1588
} ) ;
1589
1589
}
You can’t perform that action at this time.
0 commit comments