diff options
Diffstat (limited to 'include/call.h')
-rw-r--r-- | include/call.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/call.h b/include/call.h index 80b3c74..55e9ed6 100644 --- a/include/call.h +++ b/include/call.h @@ -47,7 +47,7 @@ inline PHPCPP_EXPORT Value require(const std::string &filename) { return requ extern PHPCPP_EXPORT Value require_once(const char *filename); inline PHPCPP_EXPORT Value require_once(const std::string &filename) { return require_once(filename.c_str()); } extern PHPCPP_EXPORT Value set_exception_handler(const std::function<Value(Parameters ¶ms)> &handler); -extern PHPCPP_EXPORT Value set_error_handler(const std::function<Value(Parameters ¶ms)> &handler); +extern PHPCPP_EXPORT Value set_error_handler(const std::function<Value(Parameters ¶ms)> &handler, Error error = Error::All); extern PHPCPP_EXPORT const char *sapi_name(); /** |