15 #ifndef SHAKA_EMBEDDED_JS_JS_ERROR_H_ 16 #define SHAKA_EMBEDDED_JS_JS_ERROR_H_ 52 ReturnVal<JsValue>
error()
const {
57 explicit JsError(ReturnVal<JsValue> error);
59 ReturnVal<JsValue> error_;
65 #endif // SHAKA_EMBEDDED_JS_JS_ERROR_H_ static JsError Error(const std::string &message)
static JsError Rethrow(Handle< JsValue > error)
static std::string GetJsStack()
static JsError SyntaxError(const std::string &message)
ReturnVal< JsValue > error() const
static JsError TypeError(const std::string &message)
static JsError DOMException(ExceptionCode code)
static JsError RangeError(const std::string &message)
static JsError ReferenceError(const std::string &message)