summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2015-09-16 18:22:59 +0200
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2015-09-16 18:22:59 +0200
commit2df547bfd3caf93d36b3775f3e748ad52f6e422b (patch)
tree6c349c4e21bf36eb3d1df5066db7789c6cd4c41e /include/value.h
parentfa9b3f12ef210e1321b739437e10d6c56f6796f3 (diff)
Initial support for setting an error handler as well
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h
index 5b746a1..bfd8e40 100644
--- a/include/value.h
+++ b/include/value.h
@@ -1215,6 +1215,7 @@ protected:
* Friend functions which have to access that zval directly
*/
friend Value set_exception_handler(const std::function<Value(Parameters &params)> &handler);
+ friend Value set_error_handler(const std::function<Value(Parameters &params)> &handler);
};
/**