Sha256: ad91e61a3ca3e903dafa775f7abbce0f00a236c98100ccccf917a20f8c98dc8c

Contents?: true

Size: 376 Bytes

Versions: 7

Compression:

Stored size: 376 Bytes

Contents

/*
 * JsCatcher.h
 *
 *  Created on: Dec 23, 2014
 *      Author: sergeych
 */

#ifndef JSCATCHER_H_
#define JSCATCHER_H_

#include <functional>

#include <include/v8.h>
#include "h8.h"

namespace h8 {

class H8;

class JsCatcher : public v8::TryCatch {
public:
	JsCatcher(H8* h8);

	void throwIfCaught();
private:
	H8* h8;
};

} /* namespace h8 */

#endif /* JSCATCHER_H_ */

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
h8-0.5.5 ext/h8/js_catcher.h
h8-0.5.4 ext/h8/js_catcher.h
h8-0.5.2 ext/h8/js_catcher.h
h8-0.5.1 ext/h8/js_catcher.h
h8-0.5.0 ext/h8/js_catcher.h
h8-0.4.11 ext/h8/js_catcher.h
h8-0.4.10 ext/h8/js_catcher.h