summaryrefslogtreecommitdiffstats
path: root/XS.xs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-11-16 10:10:27 -0600
committerJesse Luehrs <doy@tozt.net>2010-11-16 10:10:27 -0600
commitf88deb66271c78217bd0b488a5ab4581d5b6794a (patch)
tree3b5a505f92c0b00e6b95a29e585766c95f9d562c /XS.xs
parenta7af40f4f0abda774a247198e92108b6cd35ec80 (diff)
downloadpackage-stash-xs-f88deb66271c78217bd0b488a5ab4581d5b6794a.tar.gz
package-stash-xs-f88deb66271c78217bd0b488a5ab4581d5b6794a.zip
better error message
Diffstat (limited to 'XS.xs')
-rw-r--r--XS.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XS.xs b/XS.xs
index 98648ca..db34488 100644
--- 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);
}
}