Searched refs:ErrorCallbackListener (Results 1 – 2 of 2) sorted by relevance
36 class ErrorCallbackListener : public ErrorCallback,38 public std::enable_shared_from_this<ErrorCallbackListener> {40 ErrorCallbackListener(napi_env env) : ListenerBase(env) {} in ErrorCallbackListener() function41 ~ErrorCallbackListener() = default;52 weak_ptr<const ErrorCallbackListener> listener_;53 …ErrorCallbackInfo(int32_t errorType, int32_t errorMsg, shared_ptr<const ErrorCallbackListener> lis… in ErrorCallbackInfo()122 shared_ptr<ErrorCallbackListener> errorCallback_;
72 void ErrorCallbackListener::OnErrorCallbackAsync(const int32_t errorType, const int32_t errorMsg) c… in OnErrorCallbackAsync()108 void ErrorCallbackListener::OnErrorCallback(const int32_t errorType, const int32_t errorMsg) const in OnErrorCallback()122 void ErrorCallbackListener::OnError(const int32_t errorType, const int32_t errorMsg) const in OnError()461 errorCallback_ = make_shared<ErrorCallbackListener>(env); in RegisterErrorCallbackListener()