summaryrefslogtreecommitdiff
path: root/include/call.h
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2015-09-17 10:47:53 +0200
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2015-09-17 10:47:53 +0200
commit448b1b873537bed4b616c284ba75ce9392f838a9 (patch)
tree54dd039d4581280451490fadc35580db7ec0b5ef /include/call.h
parent2df547bfd3caf93d36b3775f3e748ad52f6e422b (diff)
Added support for passing the error types in the set_error_handler
Diffstat (limited to 'include/call.h')
-rw-r--r--include/call.h2
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 &params)> &handler);
-extern PHPCPP_EXPORT Value set_error_handler(const std::function<Value(Parameters &params)> &handler);
+extern PHPCPP_EXPORT Value set_error_handler(const std::function<Value(Parameters &params)> &handler, Error error = Error::All);
extern PHPCPP_EXPORT const char *sapi_name();
/**