def _get_exception_handler(self, app):
        handle_exception = app.handle_exception

        @wraps(handle_exception)
        def ret_val(exception):
            self._post_data(stack.top)

            return handle_exception(exception)

        return ret_val
Test _ValidateDataType() against different inputs.
dataset/ETHPy150Open jzempel/flask-exceptional/flask_exceptional.py/Exceptional._get_exception_handler--crossover with--dataset/ETHPy150Open google/encrypted-bigquery-client/src/load_lib_test.py/LoadLibraryTest.testValidateDataType