Skip to content

Commit 1a55450

Browse files
committed
[S32::Exception] X::Bind::NativeType now reports name of the variable
1 parent a6e9e34 commit 1a55450

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

S32-setting-library/Exception.pod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Authors of previous versions of this document:
1717

1818
Created: 26 Feb 2009
1919

20-
Last Modified: 17 August 2012
21-
Version: 20
20+
Last Modified: 21 August 2012
21+
Version: 21
2222

2323
The document is a draft.
2424

@@ -407,8 +407,9 @@ Thrown when trying to bind to a natively typed variable
407407
TODO: inherit from X::Bind?
408408

409409
my class X::Bind::NativeType does X::Comp {
410+
has $.name;
410411
method message() {
411-
'Cannot bind to a natively typed variable; use assignment instead'
412+
"Cannot bind to natively typed variable '$.name'; use assignment instead'
412413
}
413414
}
414415

0 commit comments

Comments
 (0)