summaryrefslogtreecommitdiff
path: root/include/value.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/value.h
parent2df547bfd3caf93d36b3775f3e748ad52f6e422b (diff)
Added support for passing the error types in the set_error_handler
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/value.h b/include/value.h
index bfd8e40..8c10bd8 100644
--- a/include/value.h
+++ b/include/value.h
@@ -1215,7 +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);
+ friend Value set_error_handler(const std::function<Value(Parameters &params)> &handler, Error error);
};
/**