projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
07e8d64
)
Improve error messages
Fuji, Goro [Tue, 18 May 2010 07:12:42 +0000 (16:12 +0900)]
xs-src/MouseAccessor.xs
patch
|
blob
|
blame
|
history
diff --git
a/xs-src/MouseAccessor.xs
b/xs-src/MouseAccessor.xs
index
27be7b9
..
7fc55b6
100644
(file)
--- a/
xs-src/MouseAccessor.xs
+++ b/
xs-src/MouseAccessor.xs
@@
-2,7
+2,7
@@
#define CHECK_INSTANCE(instance) STMT_START{ \
if(!(SvROK(instance) && SvTYPE(SvRV(instance)) == SVt_PVHV)){ \
- croak("Invalid object instance"); \
+ croak("Invalid object instance: '%"SVf"'", instance); \
} \
} STMT_END