#include "Pooling.hpp"
#include "Exception.hpp"
+#ifdef CY_EXECUTE
struct CYJSError :
CYException
{
virtual const char *PoolCString(apr_pool_t *pool) const;
virtual JSValueRef CastJSValue(JSContextRef context) const;
};
+#endif
struct CYPoolError :
CYException
CYPoolError(const char *format, va_list args);
virtual const char *PoolCString(apr_pool_t *pool) const;
+#ifdef CY_EXECUTE
virtual JSValueRef CastJSValue(JSContextRef context) const;
+#endif
};
#endif/*CYCRIPT_ERROR_HPP*/