projects
/
gitmo/Package-Stash-XS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a7af40f
)
better error message
Jesse Luehrs [Tue, 16 Nov 2010 16:10:27 +0000 (10:10 -0600)]
XS.xs
patch
|
blob
|
blame
|
history
diff --git
a/XS.xs
b/XS.xs
index
98648ca
..
db34488
100644
(file)
--- a/
XS.xs
+++ b/
XS.xs
@@
-153,7
+153,7
@@
vartype_t string_to_vartype(char *vartype)
return VAR_IO;
}
else {
- croak("Type must be one of 'SCALAR', 'ARRAY', 'HASH', 'CODE', or 'IO'");
+ croak("Type must be one of 'SCALAR', 'ARRAY', 'HASH', 'CODE', or 'IO', not '%s'", vartype);
}
}