potion_type_error_want 350 core/objmodel.c if (PN_TVTABLE != PN_TYPE(self)) return potion_type_error_want(P, "self.def_method", self, "VTable (a class)"); potion_type_error_want 175 core/potion.h #define PN_CHECK_STR(obj) if (!PN_IS_STR(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "String") potion_type_error_want 176 core/potion.h #define PN_CHECK_STRB(obj) if (!PN_IS_STR(obj) || (PN_TYPE(obj) != PN_TBYTES)) return potion_type_error_want(P, ""#obj, (PN)obj, "String or Bytes") potion_type_error_want 177 core/potion.h #define PN_CHECK_NUM(obj) if (!PN_IS_NUM(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "Number") potion_type_error_want 178 core/potion.h #define PN_CHECK_INT(obj) if (!PN_IS_INT(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "Integer") potion_type_error_want 179 core/potion.h #define PN_CHECK_DBL(obj) if (!PN_IS_DBL(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "Double") potion_type_error_want 180 core/potion.h #define PN_CHECK_BOOL(obj) if (!PN_IS_BOOL(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "Bool") potion_type_error_want 181 core/potion.h #define PN_CHECK_TUPLE(obj) if (!PN_IS_TUPLE(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "Tuple") potion_type_error_want 182 core/potion.h #define PN_CHECK_CLOSURE(obj) if (!PN_IS_CLOSURE(obj)) return potion_type_error_want(P, ""#obj, (PN)obj, "Closure") potion_type_error_want 813 core/potion.h PN potion_type_error_want(Potion *, const char *, PN, const char *); potion_type_error_want 153 lib/aio.c if (!potion_bind(P, self, PN_STR("Aio_"_XSTR(T)))) return potion_type_error_want(P, "self", self, ""_XSTR(T)) potion_type_error_want 163 lib/aio.c return potion_type_error_want(P, "stream", stream, "Aio_stream"); \ potion_type_error_want 552 lib/aio.c return potion_type_error_want(P, "node or service", !node_c ? node : service, "String"); potion_type_error_want 1516 lib/aio.c if (!value || !PN_IS_TUPLE(value)) return potion_type_error_want(P, "value", value, "Tuple"); potion_type_error_want 1521 lib/aio.c if (!value || !PN_IS_TUPLE(value)) return potion_type_error_want(P, "value", value, "Tuple"); potion_type_error_want 1526 lib/aio.c if (!value || !PN_IS_TUPLE(value)) return potion_type_error_want(P, "value", value, "Tuple");